声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

楼主: 燕大雪雁

[综合] 信号处理matlab程序示例(FFT,HHT)

  [复制链接]
发表于 2012-5-10 08:32 | 显示全部楼层
plot_imf的定义是?
回复 支持 反对
分享到:

使用道具 举报

发表于 2012-5-10 20:37 | 显示全部楼层
我运行时有个错误 如下
??? Undefined function or method 'subplot_imf' for input
arguments of type 'double'.

Error in ==> Untitled2 at 24
subplot_imf(x,t,imf);
请问是什么意思?
发表于 2012-5-11 10:21 | 显示全部楼层
又学到知识了
 楼主| 发表于 2012-5-17 11:09 | 显示全部楼层
回复 12 # hubiyang 的帖子

plot_imf是个子程序,代码如下:
function plot_imf(x,t,imf)
s = size(imf);
k = s(1);
figure;
for j = 1:k-1
  subplot(k,1,j)
  plot(t,imf(j,:))
  ylabel(['imf',int2str(j)])
end
subplot(k,1,1)
title('Empirical Mode Decomposition')

subplot(k,1,k)
plot(t,imf(k,:),'r')
ylabel('res.')
xlabel('t/s')
end
将此程序保存为一个子程序即可。
 楼主| 发表于 2012-5-17 11:12 | 显示全部楼层
回复 16 # cleverkitten 的帖子

见19楼,代码已贴上
 楼主| 发表于 2012-5-17 11:12 | 显示全部楼层
回复 17 # 郭建 的帖子

见19#,plot_imf代码已贴上
发表于 2012-5-17 21:43 | 显示全部楼层
plot_imf(x,t,imf);

这个函数 是不是也是自己编的 啊?
发表于 2012-5-18 17:30 | 显示全部楼层
回复 12 # hubiyang 的帖子

是因为你没有这个子函数。plot_emd
发表于 2012-5-18 17:37 | 显示全部楼层
imf2分量瞬时频率 咋和楼主的不一样呢??? untitled.jpg
发表于 2012-5-18 21:50 | 显示全部楼层
回复 23 # dingdingysu 的帖子

嗯 知道啦 谢谢
发表于 2012-5-20 21:20 | 显示全部楼层
不错的东西
发表于 2012-5-21 08:05 | 显示全部楼层
回复 20 # 燕大雪雁 的帖子

谢谢你……
发表于 2012-5-21 10:23 | 显示全部楼层
回复 25 # hubiyang 的帖子

什么意思呢?
发表于 2012-5-21 16:01 | 显示全部楼层
回复 1 # 燕大雪雁 的帖子

我也是燕大的,也要用HHT,可以联系下吗?373071914@qq.com
发表于 2012-5-21 18:23 | 显示全部楼层
太棒了,谢谢分享
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-4-19 21:27 , Processed in 0.056995 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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