Find Function gives empty matrix
古いコメントを表示
a=0:0.1:90;
V=find(a==3.4);
so when i type in the above code, it should give me the indice of where a=3.4, but instead, V is an empty matrix.
but if i try to find V=find(a==3.5), it works well...
i know this may due to tolerance and accuracy stuffs...but is there a quick way to fix this ?
Thank you for your help!
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!