The largest and smallest numeric value in the array

3 Ansichten (letzte 30 Tage)
Sanja
Sanja am 15 Sep. 2014
Kommentiert: Sanja am 16 Sep. 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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by