|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
我下载了希尔伯特变换的程序包,也成功加载,可是调用函数时出错。调用函数及错误如下:
fs=8192;N=4096;
t=(0:N-1)*1/fs;
[imf,ort,nbits]=emd(x,t,[0.05,0.5,0.05]);
L=size(imf,1);
X=0;
for i=1:L;
X=imf(i,+X;
end
[A,f,tt] = hhspectrum(imf,t,l,0);
下面是报错:
Warning: HILBERT ignores imaginary part of input.
> In hilbert at 39
In hhspectrum at 44
Undefined function 'instfreq' for input arguments of type 'double'.
Error in hhspectrum (line 45)
f(i,=instfreq(an(i,',tt,l)';
求高手解答!感激不尽
[S,freq]=hspec(imf,N);
下面是报错:
Warning: HILBERT ignores imaginary part of input.
> In hilbert at 39
In hspec at 39
Undefined function 'instfreq' for input arguments of type 'double'.
Error in hspec (line 45)
freq(:,i) = instfreq(z(:,i)); % instantaneous frequency |
|