필터 지우기
필터 지우기

Cycle through arrays in for loop

조회 수: 2 (최근 30일)
J M
J M 2015년 11월 14일
편집: Stephen23 2019년 6월 25일
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)).

채택된 답변

Stephen23
Stephen23 2015년 11월 14일
편집: Stephen23 2019년 6월 25일

추가 답변 (1개)

Walter Roberson
Walter Roberson 2015년 11월 14일

카테고리

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