⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 plot5c.m

📁 一种新的时频分析方法的matlab源程序。
💻 M
字号:

function  nt= plot5c(t,c,i)

% The function PLOT5C plots 5 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 5.
% X-axis range is defined as [min(t(1),t(tn)),max(t(1),t(tn))].
% The image on the screen closes all existing figures.
%
% Calling sequence-
% nt=plot5c(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);
t1=min(t(1),t(tn));
t2=max(t(1),t(tn));
for j=i:i+4
   subplot(5,1,j+1-i),plot(t,c(:,j));
   axis([t1 t2 min(c(:,j)) max(c(:,j))]);
   s1='c';
   s2=[s1 num2str(j)];
   ylabel(s2);
%   if(j<i+4)
%     set(gca,'xticklabel','');
% end
end
nt=1;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -