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일)
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
Ruger28
Ruger28 2019년 10월 7일
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.
nty huy
nty huy 2019년 10월 7일
no its woking fine for me and i just need to know how to add the v so

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile 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!

Translated by