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.

Réponses (1)

the cyclist
the cyclist le 14 Mai 2018
Modifié(e) : the cyclist le 14 Mai 2018

0 votes

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.

Cette question est clôturée.

Clôturé :

le 14 Mai 2018

Community Treasure Hunt

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

Start Hunting!

Translated by