I am trying to cycle through several array in a for loop. The for loop will plot each array and eventually make a animation (writeVideo). My arrays are named y0 through y500. How can I cycle through them such that I can access each array as for i =0:500, plot(x,y(i)).

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

질문:

J M
2015년 11월 14일

편집:

2019년 6월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by