plotn.m
来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 20 行
M
20 行
function nt= plotn(n,t,c,i,nam)
% plotn(n,t,c,i,nam) :: plot n subplots, begins from the component i
% ylabel is nam
close;
tn=length(t);
t1=min(t(1),t(tn));
t2=max(t(1),t(tn));
for j=i:i+n-1
subplot(n,1,j+1-i),plot(t,c(:,j));
axis([t1 t2 min(c(:,j)) max(c(:,j))]);
s2=[nam num2str(j)];
ylabel(s2);
if(j<i+n-1)
set(gca,'xticklabel','');
end
end
nt=1;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?