MATLAB Answers

Info

이 질문은 마감되었습니다.

How to set a dynamic loop

조회 수: 4(최근 30일)
Hinde essmahi BOUZIANE
Closed: Stephen Cobeldick 2 Jul 2019
I have an array of 85 doubles and i want to browse the array 9 by 9 (ie: for i=1:9).I want to plot then the results in a figure (3*3).
figure;
for j=1:9
BinData=ExtractContinuousData([],Info,[7],Start(j),End(j),[]);
[S1,t,f]=mtspecgramc(BinData);
subplot(3,3,j)
plot (S1,t,f);
end
%Start and End are the arrays that contains the 85 doubles each
But the problem is I just can plot the first 9 elements.How can I change each time to see the others elements?

답변 수 (0)

이 질문에 답변하려면 로그인을(를) 수행하십시오.

태그


Translated by