ambiguous 发表于 2008-5-6 10:31

程序中的问题

Fs=1024;
N=1024;t=1:1:1024;
sig=fmlin(N,0.05,0.5);
x=real(sig);figure(1);%plot(x);
= emd(x,t,);
= hhspectrum(imf,t,6);
= toimage(A,f);
disp_hhs(im,ttt);
%im=flipud(im);
%for k=1:size(im,1)
%   bjp(k)=sum(im(k,:))*1/Fs;
%end
%f=(0:399)/400*(Fs/2);
%plot(f,bjp);
%xlabel('频率/Hz');
%ylabel('幅值');
这个程序在我导师电脑里运行一点问题也没有,在我周围所有人那运行都有错误,盼高人指点下
??? Error: File: toimage.m Line: 59 Column: 1
This statement is not inside any function.
(It follows the END that terminates the definition of the function "toimage".)
Error in ==> LFMSIG at 7
= toimage(A,f);
toimage.m的第59行lt=length(t);

jinnian 发表于 2008-5-6 10:49

在我这里也没问题啊。

[ 本帖最后由 jinnian 于 2008-5-6 10:51 编辑 ]
页: [1]
查看完整版本: 程序中的问题