displs

Display lifting scheme

Syntax

S = displs(LS,FRM)

Description

S = displs(LS,FRM) returns a string describing the lifting scheme LS. The format string FRM (see sprintf) builds S.

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

For more information about lifting schemes, see lsinfo.

Examples

% Start from the Haar wavelet and get the
% corresponding lifting scheme.
lshaar = liftwave('haar');

% Visualize the obtained lifting scheme.
displs(lshaar);

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

% Add a primal ELS to the lifting 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]              []   
};                                               

See Also

Was this topic helpful?