Cycle through arrays in for loop

2 次查看(过去 30 天)
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