Hello,
Could you please help me to find values of indexes.
Thank you

댓글 수: 1

Image Analyst
Image Analyst 2014년 9월 8일
They generally go 1,2,3,4,5,etc. Which ones do you want?

댓글을 달려면 로그인하십시오.

답변 (1개)

yonatan gerufi
yonatan gerufi 2014년 9월 8일

0 개 추천

hopfully this will answer your question,
The functions min & max give you back:
[value, position]
you can use it to find specific value with:
array2 = abs(array1 - searched value)
[value, positions] = min(array2)
this will work also for matrix.

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

2014년 9월 8일

댓글:

2014년 9월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by