Info

此问题已关闭。 请重新打开它进行编辑或回答。

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.

1 次查看(过去 30 天)
create additional variable v which will 'remember' values of i from each iteration.
so i have this
subplot(1,2,1);
subplot(1,2,2);
bar(i)
im not sure how to add v variable into this

回答(0 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by