Consecutive number by using for loop?

How can I write a loop using the ' for' loop, which starts at 440 and ends at 560, increasing by 20 's.

回答(1 个)

the cyclist
the cyclist 2018-5-14
编辑:the cyclist 2018-5-14
This seems like homework. Even if it isn't, it seems like it would be more beneficial for you to learn about the MATLAB documentation, than for us to just tell you the answer.
So, I'll just say here that you should very easily be able to figure this out from a similar example on the documentation page for the for command.

此问题已关闭。

关闭:

2018-5-14

Community Treasure Hunt

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

Start Hunting!

Translated by