Local min, max, nearest neighbour

Find local minima, maxima, match value in vector.
20.8K Downloads
Updated 13 Apr 2004

View License

Set of functions to look for local minima or maxima in a vector, find a point inside a vector closest to a certain value and small function to clear everything.

Cite As

Sergei Koptenko (2024). Local min, max, nearest neighbour (https://www.mathworks.com/matlabcentral/fileexchange/3170-local-min-max-nearest-neighbour), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R13
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Plot cylinder

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Bug Fix