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.

Answers (1)

the cyclist
the cyclist on 14 May 2018
Edited: the cyclist on 14 May 2018
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.

This question is closed.

Asked:

on 14 May 2018

Closed:

on 14 May 2018

Community Treasure Hunt

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

Start Hunting!