Local min, max, nearest neighbour
                    Version 1.0.0.0 (6.64 KB) by  
                  Sergei Koptenko
                
                
                  Find local minima, maxima, match value in vector.
                
                  
              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 (2025). Local min, max, nearest neighbour (https://se.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 LinuxCategories
      Find more on Feature Detection and Extraction in Help Center and MATLAB Answers
    
  Tags
Acknowledgements
Inspired: Plot cylinder
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Bug Fix | 
