The largest and smallest numeric value in the array

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?

 Réponse acceptée

Sean de Wolski
Sean de Wolski le 15 Sep 2014

1 vote

max() and min()

2 commentaires

and
max( data(:) )
min( data(:) )
if your data is n-dimensional.
Sanja
Sanja le 16 Sep 2014
Yes, thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by