indmax
Versione 1.0.0.0 (322 Byte) da
Andreas Hoechner
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 LinuxCategorie
Scopri di più su Descriptive Statistics in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |