声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1212|回复: 4

[小波] 这个信号的小波分解和重构怎么做。大虾,帮帮忙

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

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

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

x
数据在附件里,大虾帮帮我,我的邮箱heqiangyong1@sina.com

[ 本帖最后由 zhangnan3509 于 2008-7-5 16:08 编辑 ]

QGL94#5.DAT

52 KB, 下载次数: 49

回复
分享到:

使用道具 举报

发表于 2008-7-5 16:09 | 显示全部楼层

回复 楼主 的帖子

我记得matlab教材上都有代码吧 好像是飞思科出版的 与小波相关的Matlab教材
发表于 2008-7-5 16:56 | 显示全部楼层
s=load('qgl94_5.dat');

% Decompose the signal s at level 5 using the wavelet db3.
w = 'db3';
[c,l] = wavedec(s,5,w);

% Reconstruct the details using the decomposition structure.
for i = 1:5
   D(i,:) = wrcoef('d',c,l,w,i);
end

% Avoid edge effects by suppressing edge values and plot.
tt = 1+100:length(s)-100;
subplot(6,1,1); plot(tt,s(tt),'r');
for i = 1:5
    subplot(6,1,i+1); plot(tt,D(5-i+1,tt),'g');
end

评分

1

查看全部评分

 楼主| 发表于 2008-7-8 11:10 | 显示全部楼层

回复 3楼 的帖子

谢谢,非常感谢你!!!!!!!!!!!
发表于 2008-7-8 20:16 | 显示全部楼层
谢谢,认真研究研究,要好好学习学习!
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-9-22 12:50 , Processed in 0.057354 second(s), 23 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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