indmax

Finds maximum and its index of an N-dimensional array.
901 download
Aggiornato 30 gen 2008

Nessuna licenza

[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{:})

Cita come

Andreas Hoechner (2024). indmax (https://www.mathworks.com/matlabcentral/fileexchange/18518-indmax), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2007a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Descriptive Statistics in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0