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?

This question is closed.

Tags

No tags entered yet.

Asked:

UTA
on 29 Apr 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!