|
楼主 |
发表于 2007-4-28 13:23
|
显示全部楼层
A=load('D:\MATLAB6p5\toolbox\wavelet\wavedemo\mat123.mat')
B=fieldnames(A); A=A.(B{1});
xref=A; x=xref; signal=x;
points=1024; level=4; sr=360; num_inter=6; wf='db3';
%所处理数据的长度 分解的级数 抽样率 迭代次数 小波名称
offset=0;
%____进行二进制小波变换(离散平稳小波变换),并给出各级波形:
[Lo_D,Hi_D,Lo_R,Hi_R]=wfilters(wf);
[swa,swd] = swt(signal,level,Lo_D,Hi_D);
figure;
然后出现问题:
??? Error using ==> swt
Too many output arguments.
Error in ==> C:\Documents and Settings\Administrator\My Documents\新建文件夹1\Denoise_w_Mod_sim_1.m
On line 26 ==> [swa,swd] = swt(signal,level,Lo_D,Hi_D);
[ 本帖最后由 ChaChing 于 2010-4-18 13:45 编辑 ] |
|