Make 1 figure with 2 plots in 1 row. First plot will be empty, and second plot will contain bar plot of all values of i from one of the above loops.
古いコメントを表示
subplot(1,2,1);
subplot(1,2,2);
bar(i)
but howto add additional variable v which will 'remember' values of i from each iteration.
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!