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

3 次查看(过去 30 天)
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?

采纳的回答

Star Strider
Star Strider 2015-2-12
Consider:
N = 8 : -1 : 1

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by