声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1376|回复: 4

[编程技巧] emd分解了,怎么得到分量频谱图?

[复制链接]
发表于 2013-3-19 10:01 | 显示全部楼层 |阅读模式

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

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

x
源程序:
clc;
clear;
fs=2560;
t=(0:1/fs:0.2);
n=512;
a=pi;
x=(1+0.2*sin(2*a*7.5*t)).*cos(2*a*30*t+0.5*sin(2*a*15*t))+sin(2*a*120*t);  
plot(t,x);
xlabel('t/s');ylabel('x');
imf=emd(x);
cemd_visu(x,1:length(x),imf);


想的到如下分量1和分量2的图:该怎么写?

如何得到如图的频谱图

如何得到如图的频谱图

本帖被以下淘专辑推荐:

回复
分享到:

使用道具 举报

发表于 2013-3-19 13:20 | 显示全部楼层
无意义帖,建议删除!
发表于 2013-4-7 13:40 | 显示全部楼层
 楼主| 发表于 2013-4-8 15:55 | 显示全部楼层
发表于 2013-4-20 16:13 | 显示全部楼层
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-10 21:10 , Processed in 0.055106 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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