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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Sai Vaddi
el 3 de En. de 2018
Respondida: Birdman
el 3 de En. de 2018
for example; thetaL=10; //intial value for(i=0;i<3;i++) { thetaL0=thetaL; thetaL1=(42.8/38.4)*w; thetaL=thetaL+thetaL1; }
0 comentarios
Respuesta aceptada
Birdman
el 3 de En. de 2018
See the attached model. Just run it and see the results. Hope this helps.
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Loops and Conditional Statements en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!