I need to iterate the for-loop subsystem 3 times. For each iteration, the output result will then be then be the input for the next iteration and the result for each iteration should be displayed.Thanks in advance.

2 次查看(过去 30 天)
for example; thetaL=10; //intial value for(i=0;i<3;i++) { thetaL0=thetaL; thetaL1=(42.8/38.4)*w; thetaL=thetaL+thetaL1; }

采纳的回答

Birdman
Birdman 2018-1-3
See the attached model. Just run it and see the results. Hope this helps.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Loops and Conditional Statements 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by