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 Center および File ExchangeLoops and Conditional Statements についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by