Where are stored values of discrete wavelet functions?
Show older comments
I need to know the values of the discrete wavelets. For examble Daubechies 1 "db1".
When I use wavelet toolbox the functions requires parameter such as 'db1' to know which wavelet use. So MATLAB has to know the values of this function in a discrete form.
(Values of sampled analog function 'db1' stored in vector or wherever). And for my special purpose I need to know them as well, but I cannot find them.
Answers (1)
Wayne King
on 28 Apr 2013
Edited: Wayne King
on 28 Apr 2013
You can use wfilters() to find the values of the scaling and wavelet filters
For an orthogonal wavelet, the decomposition and reconstruction filters will be the reverse of each other. For biorthogonal filters, they are different.
Orthogonal example:
[LoD,HiD,LoR,HiR] = wfilters('db4');
Biorthogonal example:
[LoD,HiD,LoR,HiR] = wfilters('bior3.5');
The example you cite is just the Haar wavelet
[LoD,HiD,LoR,HiR] = wfilters('db1');
Categories
Find more on Signal Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!