声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

楼主: murhythm

[HHT] 关于emd的程序,高手请指教

  [复制链接]
发表于 2009-3-23 14:53 | 显示全部楼层

用安装吗?

在matlab里file里set path里把EMD的文夹件和所有子文件夹加进去就行了,这样里面的.m文件就也能用了....不一定要安装的.
回复 支持 反对
分享到:

使用道具 举报

发表于 2010-11-15 14:39 | 显示全部楼层
我说怎么装不上呢,呵呵,晓得了
发表于 2010-11-19 13:43 | 显示全部楼层
请问各位装的Microsoft Visual C++ 6.0都是什么版本的?企业版的还是精简版?我用mbuild -setup找不到路径啊
发表于 2010-11-22 11:00 | 显示全部楼层
回复 9 # zzj936 的帖子

我出现了和你一样的问题,请问是怎么解决的?
发表于 2011-4-18 20:04 | 显示全部楼层
install_emd
??? Undefined function or variable 'install_emd'.

按9楼的说明,第一步和第二步的安装都没有问题,在第三步安装出现上述错误。
怎么解决?

下载了帖子:http://forum.vibunion.com/thread-55430-1-1.html中的package_emd.zip文件,解压到matlab的toolbox目录中,添加到matlab的路径中。
发表于 2011-6-21 18:29 | 显示全部楼层
安装上了,咋不能用呢?"s" was previously used as a function,
conflicting with its use here as the name of a variable.
发表于 2011-6-21 20:22 | 显示全部楼层
回复 21 # sweetcrying 的帖子

再检查一下你的程序。不明白的话贴上来询问。
发表于 2011-6-22 10:05 | 显示全部楼层
我用的是论坛里面发过的例子,
t=1:500;
t=t*1/2000;
x=sin(2*pi*20*t);
y=0.4*sin(2*pi*40*t+140);
z=x+y;
plot(t,z)
imf=emd(z);
emd_visu(z,1:length(z),imf)
[A,f,tt]=hhspectrum(imf);
[im,tt]=toimage(A,f);
disp_hhs(im);
colormap(flipud(gray))
??? Error: File: D:\Matlab7.0\work\package_emd\EMDs\emd.m Line: 218 Column: 26
"s" was previously used as a function,
conflicting with its use here as the name of a variable.
我分步运行了下,只要运行imf=emd(z);
就会出现,上面的那个错误,麻烦高手给指点一下。
发表于 2011-6-22 14:41 | 显示全部楼层
回复 23 # sweetcrying 的帖子

运行过了 没有问题。
检查一下你的工具箱
发表于 2011-6-22 15:22 | 显示全部楼层
装完以后,从Start那里找不到的,难道是我matlab版本的问题,我去用别人的机子跑下去。
发表于 2011-8-16 15:04 | 显示全部楼层
安装install_emd这一步还是装不上啊,
>>install_emd
??? Undefined function or variable 'install_emd'.
这该肿么办啊??
发表于 2011-8-16 15:09 | 显示全部楼层
已解决~~
发表于 2011-8-31 16:39 | 显示全部楼层
thank you for your sharing.
发表于 2011-8-31 16:43 | 显示全部楼层
按照set path的方法加入路径后,运行install_emd,出现了如下的错误:
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc.dll.lib
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc_fix.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../emdc_fix.dll.lib
lcc preprocessor error: cemdc.c:19 Could not find include file <complex.h>
Error cemdc.c: .\cio.h: 31  syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 31  skipping `*' `y'
Error cemdc.c: .\cio.h: 39  syntax error; found `*' expecting `;'
Error cemdc.c: .\cio.h: 39  skipping `*' `pointer'
Error cemdc.c: .\cio.h: 53  syntax error; found `*' expecting `)'
Error cemdc.c: .\cio.h: 53  skipping `*' `,'
Error cemdc.c: .\cio.h: 53  missing name for parameter 1 to function `add_imf'
Error cemdc.c: .\cio.h: 53  syntax error; found `int' expecting `{'
Error cemdc.c: .\cio.h: 53  empty declaration
Error cemdc.c: .\cio.h: 53  syntax error; found `)' expecting `;'
Error cemdc.c: .\cio.h: 53  skipping `)'
Error cemdc.c: .\cextr.h: 28  syntax error; found `*' expecting `)'
Error cemdc.c: .\cextr.h: 28  skipping `*' `,'
Error cemdc.c: .\cextr.h: 28  syntax error; found `double' expecting `;'
Error cemdc.c: .\cextr.h: 28  empty declaration
Error cemdc.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28  skipping `,'
Error cemdc.c: .\cextr.h: 28  empty declaration
Error cemdc.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc.c: .\cextr.h: 28  too many errors

  D:\MATLAB\BIN\WIN32\MEX.PL: Error: Compile of 'cemdc.c' failed.

找不到 D:\matlab\toolbox\package_emd\EMDs\../cemdc.dll.exp
找不到 D:\matlab\toolbox\package_emd\EMDs\../cemdc.dll.lib
lcc preprocessor error: cemdc_fix.c:19 Could not find include file <complex.h>
Error cemdc_fix.c: .\cio_fix.h: 27  syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 27  skipping `*' `y'
Error cemdc_fix.c: .\cio_fix.h: 34  syntax error; found `*' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 34  skipping `*' `pointer'
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cio_fix.h: 48  skipping `*' `,'
Error cemdc_fix.c: .\cio_fix.h: 48  missing name for parameter 1 to function `add_imf'
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `int' expecting `{'
Error cemdc_fix.c: .\cio_fix.h: 48  empty declaration
Error cemdc_fix.c: .\cio_fix.h: 48  syntax error; found `)' expecting `;'
Error cemdc_fix.c: .\cio_fix.h: 48  skipping `)'
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `*' expecting `)'
Error cemdc_fix.c: .\cextr.h: 28  skipping `*' `,'
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `double' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  empty declaration
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  skipping `,'
Error cemdc_fix.c: .\cextr.h: 28  empty declaration
Error cemdc_fix.c: .\cextr.h: 28  syntax error; found `,' expecting `;'
Error cemdc_fix.c: .\cextr.h: 28  too many errors
发表于 2011-8-31 16:46 | 显示全部楼层
文件夹里明明有这几个文件啊
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-19 09:33 , Processed in 0.097600 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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