findpeaks2.m

Find all the peaks of a surface excluding NaN.

You are now following this Submission

Record all peaks in a region by comparing with its neighbours. If neighbours of a number are holding smaller or equal (a portion of the neighbours) values it is declared as a local peak. It can detect the plateau boundaries alongwith distinct local peak points.

Cite As

Sudipta Das (2026). findpeaks2.m (https://www.mathworks.com/matlabcentral/fileexchange/46806-findpeaks2-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.4.0.0

Description changed

1.3.0.0

Tags changed

1.2.0.0

Author and File ID Added in the file

1.1.0.0

Added:
1. warning messages are displayed if an user supplies a matrix of constant values e.g. ones(N) or zeros(N)
2. Error message if an user supplies a non-numeric data.

1.0.0.0