Name of islocalmin algorithm
5 views (last 30 days)
Show older comments
ErikJ GiesenLoo
on 7 Sep 2023
Answered: John D'Errico
on 7 Sep 2023
Hi all,
Hopefully this is a simple question.
Do any of you know the name of the algorithm used by MATLAB's "islocalmin" function?
I'm using the function for some research work and I would like to at least read a bit on the algorithm.
Thanks!!
0 Comments
Accepted Answer
John D'Errico
on 7 Sep 2023
You can read about it here:
But is there a specific "algorithm" that can be named? It seems a pretty simple algorithm, but nothing with "name" that could be attributed. For example, I see this simple description:
"More About
Prominence of Local Minimum
The prominence of a local minimum (or valley) measures how the valley stands out with respect to its depth and location relative to other valleys.
To measure the prominence of a valley, first extend a horizontal line from the valley. Find where the line intersects the data on the left and on the right, which will either be another valley or the end of the data. Mark these locations as the outer endpoints of the left and right intervals. Next, find the highest peak in both the left and right intervals. Take the smaller of these two peaks, and measure the vertical distance from that peak to the valley. This distance is the prominence.
For a vector x, the largest prominence is at most max(x)-min(x)."
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!