Description Usage Arguments Details Value Examples
Determines all local maxima from a real valued vector.
1 | amax(x)
|
x |
numeric vector |
The purpose is to detect all local maxima in a real valued 1D vector.
If the first element x[1]
is the global maximum, it is ignored,
because there is no information about the previous element. If there
is a plateau, the first edge is detected.
returns the indicies of local maxima. If x[1] = max
, then
it is ignored.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.