MATLAB Answers

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.

2 views (last 30 days)
nty huy
nty huy on 7 Oct 2019
Commented: nty huy on 7 Oct 2019
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.

  2 Comments

Ruger28
Ruger28 on 7 Oct 2019
You really need to provide more details in your questions. You need to provide more than 3 lines of code, NONE of which contain any usable data/info.

Sign in to comment.

Answers (0)

Sign in to answer this question.

Tags