You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[ind,maxi]=indmax(x)
Finds index to and maximum of N-dimensional array
ind is cell array
maxi is scalar
Example:
r=rand([2 3 4])
[ind,maxi]=indmax(r)
so that
maximum=r(ind{:})
Cite As
Andreas Hoechner (2026). indmax (https://www.mathworks.com/matlabcentral/fileexchange/18518-indmax), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (322 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
