This function generate the Daubechies wavelet filter banks for the orders up to 10. If a wrong order number is given, an empty vector is returned.
function wavDaubechies input Integer order = 2 "Order of the wavelet. order<=10"; output Real F[:] "Scaling filter"; output Real lod[:] "High pass filter for decomposition"; output Real hid[:] "Low pass filter for decomposition"; output Real lor[:] "High pass filter for reconstruction"; output Real hir[:] "Low pass filter for reconstruction"; end wavDaubechies;