Main Content


(To be removed) Lifting schemes

liftwave will be removed in a future release. For 1-D lifting, use liftingScheme. For more information, see Compatibility Considerations.


LS = liftwave(WNAME)
LS = liftwave(WNAME,'Int2Int')


LS = liftwave(WNAME) returns the lifting scheme associated with the wavelet specified by WNAME. LS is a structure, not an integer, and used by lwt2 and ilwt2.

LS = liftwave(WNAME,'Int2Int') performs an integer-to-integer wavelet transform. Using 'Int2Int' produces an LS such that when you use [CA,CH,CV,CD] = lwt2(X,LS) or Y = lwt2(X,LS) and X is an array of integers, the resulting CA, CH, CV, CD, and Y are matrices of integers. If you omit 'Int2Int' then lwt2 produces matrices of real numbers.

The valid values for WNAME are

WNAME Values

'db1', 'db2', 'db3', 'db4', 'db5', 'db6', 'db7', 'db8'
'sym2', 'sym3', 'sym4', 'sym5', 'sym6', 'sym7', 'sym8'
Cohen-Daubechies-Feauveau wavelets

For more information about lifting schemes, see lsinfo.


% Start from the db2 wavelet and get the
% corresponding lifting scheme.
lsdb2 = liftwave('db2');

% Visualize the obtained lifting scheme.

lsdb2 = {...                                         
'd'             [ -1.73205081]              [0]   
'p'             [ -0.06698730  0.43301270]  [1]   
'd'             [  1.00000000]              [-1]  
[  1.93185165]  [  0.51763809]              []    

Compatibility Considerations

expand all

Not recommended starting in R2021a

Introduced before R2006a