audio - Discrete Wavelet Transform in MATLAB -
i working audio signal processing , need perform 3-band dwt. trying use dwt
function in matlab this. however, after reading function realized allows input 2 filters, hi , low band, need input 3. there anyway can this? thank you!
how describing not how wavelets work. think should read documentation/tutorials/background information more understand working with. oli correct - happens multilevel decomposition detail , approximation computed each level, , filters applied approximation (low band) calculate next level.
e.g:
sig1=audioread('myfilename'); [lev1_lo lev1_hi]=dwt(sig1(:,1),'haar'); [lev2_lo lev2_hi]=dwt(lev1_lo,'haar'); [lev3_lo lev3_hi]=dwt(lev2_lo,'haar'); %etc
you keep lev1_hi
, lev2_hi
, lev3_hi
, lev3_lo
3-level decomposition. case, keep lev1_hi
, lev2_hi
, lev2_lo2
.
Comments
Post a Comment