indmax
Versión 1.0.0.0 (322 Bytes) por
Andreas Hoechner
Finds maximum and its index of an N-dimensional array.
901 descargas
Actualizado
30 ene 2008
Sin licencia
[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{:})
Citar como
Andreas Hoechner (2024). indmax (https://www.mathworks.com/matlabcentral/fileexchange/18518-indmax), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2007a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Descriptive Statistics en Help Center y MATLAB Answers.
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |