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

3 Ansichten (letzte 30 Tage)
Ameligege
Ameligege am 12 Feb. 2015
Kommentiert: Star Strider am 12 Feb. 2015
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?

Akzeptierte Antwort

Star Strider
Star Strider am 12 Feb. 2015
Consider:
N = 8 : -1 : 1
  2 Kommentare
Ameligege
Ameligege am 12 Feb. 2015
thanks for quick helpful answer
Star Strider
Star Strider am 12 Feb. 2015
My pleasure!
This was a lot easier than the matrix!

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by