The largest and smallest numeric value in the array

3 visualizaciones (últimos 30 días)
Sanja
Sanja el 15 de Sept. de 2014
Comentada: Sanja el 16 de Sept. de 2014
I have some of the numerical values in the matrix containing the image. How I can find the largest and smallest numeric value in the array?

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 15 de Sept. de 2014
max() and min()
  2 comentarios
Adam
Adam el 15 de Sept. de 2014
and
max( data(:) )
min( data(:) )
if your data is n-dimensional.
Sanja
Sanja el 16 de Sept. de 2014
Yes, thanks!

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by