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.

조회 수: 1 (최근 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