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?

 Risposta accettata

max() and min()

2 Commenti

and
max( data(:) )
min( data(:) )
if your data is n-dimensional.
Yes, thanks!

Accedi per commentare.

Più risposte (0)

Richiesto:

il 15 Set 2014

Commentato:

il 16 Set 2014

Community Treasure Hunt

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

Start Hunting!

Translated by