Using data from a FOR loop to then create an array
1 回表示 (過去 30 日間)
古いコメントを表示
Hi all, currently doing a project where I have calculated the temperature in a FOR loop but then need to use these values(around 500 values) to produce an array? to get another range of values(500 values) for each temperature value.
0 件のコメント
回答 (1 件)
Walter Roberson
2014 年 3 月 17 日
your_array = zeros(500,1);
for t = 1 : 500
your_array(t) = ....
end
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!