maximun wavelet decompostion level
L=wmaxlev(length,wname) L=wmaxlev([LRow,LCol],wname)
wmaxlev is the maximum decompostion level calculation utility.
x=rand(1,100); L=wmaxlev(length(x),'db5');
Roger Liu and Isaac Zhi