How to plot while loop iteration in same figure
조회 수: 4 (최근 30일)
이전 댓글 표시
MT= [m, n] matrix
%%%%%%%%%%%%%%%%%%%%%%%%%%%
while cidx == 1
i=i+4;
Z = MT (1: i, :);
[idx,cidx] = clusterer(Z);
plot(clusterer,Z,idx);
End
%%%%%
with cidx = 11111111111111111111111111111 2222
Knowing that the program gives me a new figure each time I do an iteration cidx=1 (10 figures for 10 iterations) so how I can plot the figures in the same one ?
Thanks in advance
댓글 수: 0
답변 (1개)
Cris LaPierre
2021년 4월 3일
댓글 수: 2
Cris LaPierre
2021년 4월 3일
What did you try? It'll work if done correctly. Have you gone through ch 9 of the onramp yet?
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!