Main Content

displs

(To be removed) Display lifting scheme

displs will be removed in a future release. Use disp and liftingScheme. For more information, see Compatibility Considerations.

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'

Version History

Introduced before R2006a

collapse all

R2021a: displs will be removed

displs will be removed in a future release. Use disp and liftingScheme. To update your code, follow these steps:

  1. Create a lifting scheme using liftingScheme.

  2. Display the lifting scheme using disp.