caldspeco.m

来自「一种新的时频分析方法的matlab源程序。」· M 代码 · 共 30 行

M
30
字号

% --- CALDSPECO calculates damping spectrums ------- %
% from IMF for the specified files and plot them.
%
% Non MATLAB Library routines used are:
%	NSPABD and FDAMP.
% Required data files: 'cr921c'.
%
% --- caldspeco.m ---------------------------------- %

%----- Load the data
load cr921c
h=cr921c';
m=size(h);

%----- Specify the scale
ts=(1:10000)./200;

%----- Get the damping spectrum
[nt,t,f]=nspabd(h(:,1:m(2)-5),100,0,5,ts(1),ts(length(ts)));

%---- Get the normalized marginal damping spectrum
msf=fdamp(nt);

%----- Plot spectrums
figure(1) 
imagesc(t,f,nt), axis xy

figure(2)
plot(f,msf)

⌨️ 快捷键说明

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