Documentation Center

  • Trial Software
  • Product Updates

filt2ls

Transform quadruplet of filters to lifting scheme

Syntax

LS = filt2ls(LoD,HiD,LoR,HiR)

Description

LS = filt2ls(LoD,HiD,LoR,HiR) returns the lifting scheme LS associated with the four input filters LoD, HiD, LoR, and HiR that verify the perfect reconstruction condition.

Examples

[LoD,HiD,LoR,HiR] = wfilters('db2')

LoD =

   -0.1294    0.2241    0.8365    0.4830

HiD =

   -0.4830    0.8365   -0.2241   -0.1294

LoR =

    0.4830    0.8365    0.2241   -0.1294

HiR =

   -0.1294   -0.2241    0.8365   -0.4830

LS = filt2ls(LoD,HiD,LoR,HiR);
displs(LS);

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

LSref = liftwave('db2');
displs(LSref);

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

See Also

|

Was this topic helpful?