small question about find function

When I use 'find' function in matlab I met a problem as follow: C=[0.2341 0.4567]; x=[0.2341 3 4 5]; ind = find(x == C(1));
however, after run, the ind is empty. What's wrong? Can anyone help me?

답변 (1개)

Sean de Wolski
Sean de Wolski 2013년 4월 29일

2 개 추천

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

질문:

UTA
2013년 4월 29일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by