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?

 採用された回答

Sean de Wolski
Sean de Wolski 2014 年 9 月 15 日

1 投票

max() and min()

2 件のコメント

Adam
Adam 2014 年 9 月 15 日
and
max( data(:) )
min( data(:) )
if your data is n-dimensional.
Sanja
Sanja 2014 年 9 月 16 日
Yes, thanks!

サインインしてコメントする。

その他の回答 (0 件)

タグ

質問済み:

2014 年 9 月 15 日

コメント済み:

2014 年 9 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by