Gives minimum or maximum value and its indices [row column] for a 2D array. For a vector works same as regular min and max.
Cite As
Sergei Koptenko (2026). min /max for arrays (https://www.mathworks.com/matlabcentral/fileexchange/4709-min-max-for-arrays), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R13
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Elementary Math >
Find more on Elementary Math in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Added: check and replacement of +/-Inf (for instance as result of log10(0)operation) to NaN |
