声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 990|回复: 1

[HHT] 程序中的问题

[复制链接]
发表于 2008-5-6 10:31 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
Fs=1024;
N=1024;t=1:1:1024;
sig=fmlin(N,0.05,0.5);
x=real(sig);figure(1);%plot(x);
[imf,ort,nbits] = emd(x,t,[0.05,0.5,0.05]);
[A,f,tt] = hhspectrum(imf,t,6);
[im,ttt] = 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
[im,ttt] = toimage(A,f);
toimage.m的第59行lt=length(t);

toimage.m

1.84 KB, 下载次数: 10

回复
分享到:

使用道具 举报

发表于 2008-5-6 10:49 | 显示全部楼层
在我这里也没问题啊。

[ 本帖最后由 jinnian 于 2008-5-6 10:51 编辑 ]
untitled.jpg

toimage.m

2.93 KB, 下载次数: 12

评分

1

查看全部评分

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-9-20 05:09 , Processed in 0.065013 second(s), 25 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表