?? plot2c.m
字號:
function nt= plot2c(t,c,i)
% The function PLOT2C plots 2 subplots starting from the I-th component
% of the data c(n,k), where n is the number of data points and
% k is the number of IMF components.
% The number of subplots in vertical direction is equal to 2.
% The image on the screen closes all existing figures.
%
% Calling sequence-
% nt=plot2c(t,c,i)
%
% Input-
% t - vector t(n) representing the
% time scale values
% c - component data array c(n,k)
% i - index of the first plotted component
% Output-
% nt - the handle of the figure
% Z. Shen (Caltech) Initial
close;
tn=length(t);
for j=i:i+1
subplot(2,1,j+1-i),plot(t,c(:,j),'linew',.1);
axis([t(1) t(tn) min(c(:,j)) max(c(:,j))]);
s1='c';
s2=[s1 num2str(j)];
ylabel(s2);
end
nt=1;
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -