a=rand(1,250); q=MakeQMF('daubechies',4); [wt,wti,wtl] = FWT(a,6,q);