Scilab Wavelet Toolbox Function
Last update : Feburary 2006

wmaxlev - maximun stride calculation

Calling Sequence

stride=wmaxlev(sig,wavename)

Parameters

Description

This function calculate the maximum stride a given signal could be decomposed. Both vectors and two dimensional matrixes are allowed for input parameter. For matrixes, the stride value is the minimum of row and column vector results.

Examples


-->sig=rand(1,64);
-->n=wmaxlev(sig,'db1')
 n  =
 
    6. 
-->n=wmaxlev(sig,'db2')
 n  =
 
    5.

-->n=wmaxlev(sig,'db3')
 n  =
 
    4.

-->sig=sig';
-->n=wmaxlev(sig,'db4')
 n  =
 
    4. 

-->sig=rand(64,48);
-->n=wmaxlev(sig,'db4')
 n  =
 
    3. 

-->n=wmaxlev(3,'db4')  
The wavelet you select is not appropriate for that length of the vector!

  

See Also

None