Main Content

displs

Display lifting scheme

Description

example

S = displs(LS,FRM) returns the character array describing the lifting scheme LS. The formatting operator FRM (see sprintf) builds S.

displs(LS) is equivalent to displs(LS,'%12.8f').

Examples

collapse all

Start with the Haar wavelet and get the corresponding lifting scheme.

lshaar = liftwave('haar');

Visualized the lifting scheme.

displs(lshaar);
lshaar = {...                        
'd'             [ -1.00000000]  [0]  
'p'             [  0.50000000]  [0]  
[  1.41421356]  [  0.70710678]  []   
};                                   

Add a primal elementary lifting step to the lifting scheme. Display the resulting scheme.

els = {'p',[-0.125 0.125],0};
lsnew = addlift(lshaar,els);
displs(lsnew);
lsnew = {...                                     
'd'             [ -1.00000000]              [0]  
'p'             [  0.50000000]              [0]  
'p'             [ -0.12500000  0.12500000]  [0]  
[  1.41421356]  [  0.70710678]              []   
};                                               

Input Arguments

collapse all

Lifting scheme associated with a wavelet. See liftwave.

Example: LS = liftwave('db4') returns the lifting scheme associated with the Daubechies wavelet db4.

Formatting operator used to build LS. See sprintf.

Example: '%12.3f'

See Also

|

Introduced before R2006a