how can I find the cell no: of the minimum value in a m*n*x matrix

Respuestas (1)

index=find(A==min(A(:)));
Then A(index) will give you the minimum value. If you need the explicit 3D index checkout the function "ind2sub" after finding the above index.

Categorías

Etiquetas

Preguntada:

el 8 de Ag. de 2014

Comentada:

el 8 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by