for文でplotさせる方法
Show older comments
ワークスペースにあるD1~D4のデータを使ってグラフをplotしようとしています。
for n=1:4
s=num2str(n)
xx="D" + s + ".x.data"
yy="D" + s + ".y.data"
plot(xx,yy)
end
で実行すると
エラー:plot
入力引数が不足しています。
となります。
何が間違っているのか、ご教示頂けると助かります。
宜しくお願い致します。
Accepted Answer
More Answers (0)
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!