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

and
max( data(:) )
min( data(:) )
if your data is n-dimensional.
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