MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   [MATLAB信号处理] 希尔伯特变换 (https://www.labfans.com/bbs/showthread.php?t=17601)

songzhen2566 2012-09-04 21:10

希尔伯特变换
 
我下载了希尔伯特变换的程序包,也成功加载,可是调用函数时出错。调用函数及错误如下:
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

rlingke 2012-09-06 19:12

回复: 希尔伯特变换
 
X=imf(i,+X;
这是什么情况,怎么就一半括号啊??
你没有定义这个‘instfreq’函数吧?我是这样理解的。


所有时间均为北京时间。现在的时间是 05:42

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.