之前运行没问题的程序,再次运行后提示Too many input arguments.
之前运行没问题的程序,再次运行后提示Too many input arguments.>> clcclear all
close all
Ts = 0.001;Fs=1/Ts;
=textread('F:\刘佳\故录文件\9.17新故录文件\2013.03.24\05时22分30秒\2013年03月24日05时22分30秒_1.txt','%f%f%f');
figure
plot(t, x)
title('原始信号');
imf = emd(x);
plot_hht(x,imf,1/Fs);
k = 4;
y = imf{k};
N = length(y);
= HilbertAnalysis(y, 1/Fs);
yModulate = y./yenvelope;
= FFTAnalysis(yModulate, Ts);
Yf = FFTAnalysis(y, Ts);
figure
subplot(321)
plot(t, y)
title(sprintf('IMF%d', k))
xlabel('Time/s')
ylabel(sprintf('IMF%d', k));
subplot(322)
plot(f, Yf)
title(sprintf('IMF%d的频谱', k))
xlabel('f/Hz')
ylabel('|IMF(f)|');
subplot(323)
plot(t, yenvelope)
title(sprintf('IMF%d的包络', k))
xlabel('Time/s')
ylabel('envelope');
subplot(324)
plot(t(1:end-1), yfreq)
title(sprintf('IMF%d的瞬时频率', k))
xlabel('Time/s')
ylabel('Frequency/Hz');
subplot(325)
plot(t, yModulate)
title(sprintf('IMF%d的调制信号', k))
xlabel('Time/s')
ylabel('modulation');
subplot(326)
plot(f, YMf)
title(sprintf('IMF%d调制信号的频谱', k))
xlabel('f/Hz')
ylabel('|YMf(f)|');
提示:??? Error using ==> plot_hht
Too many input arguments. 自己顶一下,有知道的高手吗 还是没有解决有知道的高手吗
页:
[1]
