localmax
Identify and chain local maxima
Syntax
[lmaxima,indices]
= localmax(inputmatrix)
[lmaxima,indices]
= localmax(inputmatrix,initrow)
[lmaxima,indices]
= localmax(inputmatrix,initrow,regflag)
Description
[
identifies
and chains the local maxima in the rows of lmaxima
,indices
]
= localmax(inputmatrix
)inputmatrix
.
[
initializes
the chaining of local maxima beginning with row lmaxima
,indices
]
= localmax(inputmatrix
,initrow
)initrow
.
If there are no local maxima in initrow
, all
rows in lmaxima
with indices less than initrow
consist
of only zeros.
[
replaces lmaxima
,indices
]
= localmax(inputmatrix
,initrow
,regflag
)initrow
of inputmatrix
with
the level-5 approximation (scaling) coefficients obtained with the sym4
wavelet.
Input Arguments
|
|
|
Initialization row for chaining local maxima. The chaining algorithm
begins at Default: |
|
Regularization flag. If you set Default: |
Output Arguments
|
Matrix with local maxima chains.
|
|
Linear indices of the nonzero values of |
Examples
Version History
Introduced in R2008a