clear;clc;close all;
fs=100;T=10;N=T*fs;
t=0:1/fs:T; % 采样率100HZ
z=(1+sin(2*pi*t)).*sin(2*pi*10*t);%调幅信号
imf = emd(z); %%%%%%%%%%EMD
[A, fa, tt] = hhspectrum(imf);
??? Undefined function or method 'instfreq' for input arguments of type 'double'.
Error in ==> hhspectrum at 46
f(i,:)=instfreq(an(i,:)',tt,l)';
一运行到[A, fa, tt] = hhspectrum(imf);
就出现问题 ,什么原因啊啊