[NEED HELP] writing a for loop code for equation
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论

How do I write a for loop code, Z = 0:2 for an increment size of 0.05?
2 个评论
John D'Errico
2017-4-11
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
2017-4-11
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 :
回答(0 个)
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!