DSP

2 次查看(过去 30 天)
Dr G Jaffino
Dr G Jaffino 2011-9-21
How to write matlab code for 1D wavelet transform with db4...

回答(1 个)

Wayne King
Wayne King 2011-9-21
Hi see
wavedec() in the Wavelet Toolbox. You need to be careful about what you call the db4 wavelet. If that is the number of taps, then that is the 'db2' wavelet in the Wavelet Toolbox.
An example of the DWT down to level 4 using the 'db2' wavelet.
x = randn(1024,1);
C,L] = wavedec(x,4,'db2');

类别

Help CenterFile Exchange 中查找有关 DSP System Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by