Clear Filters
Clear Filters

how I can make loop start with 8 end with 1?

3 views (last 30 days)
how I can make loop start with 8 end with 1? is it available in mat lab when i write
for 8:1
It does not work can any one help ,please?

Accepted Answer

Star Strider
Star Strider on 12 Feb 2015
Consider:
N = 8 : -1 : 1
  2 Comments
Star Strider
Star Strider on 12 Feb 2015
My pleasure!
This was a lot easier than the matrix!

Sign in to comment.

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!