els={'p',[-0.125,0.125],0}; 的疑问
lshaar=liftwave('haar');els={'p',[-0.125,0.125],0};
在这里做什么用呢? 如果不用导致重构不是原信号
lsnew=addlift(lshaar,els);
displs(lsnew)
X=1:8
=lwt(X,lsnew)
=dwt(X,'haar')
X1=idwt(a,b,'haar')
X2=ilwt(c,d,lsnew)
ans =
lsnew = {...
'd' [ -1.00000000]
'p'
'p' [ -0.125000000.12500000]
[]
};
X =
1 2 3 4 5 6 7 8
c =
1.9445 4.9497 7.7782 10.6066
d =
0.7071 0.7071 0.7071 0.7071
a =
2.1213 4.9497 7.7782 10.6066
b =
-0.7071 -0.7071 -0.7071 -0.7071
X1 =
1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 7.0000 8.0000
X2 =
1.0000 2.0000 3.0000 4.0000 5.0000 6.0000 7.0000 8.0000
页:
[1]