[NEED HELP] writing a for loop code for equation
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen

How do I write a for loop code, Z = 0:2 for an increment size of 0.05?
2 Kommentare
John D'Errico
am 11 Apr. 2017
Why not try it? Make an effort. Even if this is not homework, you are more likely to get help if you show that you are trying to learn MATLAB, than if you treat the people here as a doit4me service.
So read the help for for.
doc for
You will find examples in there to give you an idea. Then TRY something. The point is, this is a basic problem. If you cannot even come close, then you need to read the Getting Started Tutorials in MATLAB.
Rik
am 11 Apr. 2017
As John said, this is not a forum with people who will do your work for you, this is a forum with people who will help you when you get stuck. So if you try something and it doesn't work, reply here and we will try to help you.
Also, have a look at the help of the colon operator:
doc :
Antworten (0)
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!