Moreno, M. (2023). Fast Local Extrema (https://www.mathworks.com/matlabcentral/fileexchange/108134-fast-local-extrema), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Corrections and improvements kindly suggested by Jan (see discussions)
Deletion of all intermediate variables
Speed boost by removal of an intermediate variable
Avoided array conversion from double to logical