Wavelet Toolbox™ Previous page   Next Page 
localmax
 Provide feedback about this page

Compute local maxima positions

Syntax

Description

For a matrix X, localmax computes and chains the local maxima along the rows.

The default values are ROWINIT = size(X,1) and REGFLAG = true.

First, localmax computes the local maxima positions on each row of X. Then, starting from the row (ROWINIT-1), localmax chains the maxima positions along the columns. If p0 is a local maxima position on the row R0, then p0 is linked to the nearest maxima position on the row R0+1.

Y is a matrix of the same size of X such that:

I contains the indices of nonzero values of Y.

If REGFLAG = true, S = X(ROWINIT,:) is first regularized using the wavelet 'sym4'. Instead of S, the approximation of level 5 is used to start the algorithm.


 Provide feedback about this page 

Previous page liftwave ls2filt Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS