This function generate the Coiflets wavelet filter banks for the orders up to 5. If a wrong order number is given, an empty vector is returned.
function wavCoiflets input Integer order = 2 "Order of the wavelet. order<=5"; 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 wavCoiflets;