Why some lements are not found using find in matlab array
3 views (last 30 days)
Show older comments
Satish Salunkhe
on 9 Jul 2015
Edited: Satish Salunkhe
on 9 Jul 2015
I used following code
a=0:0.001:3
ismember(2.8,a)
ans=1
later I changed
a=0:0.001:3
ismember(2.8,a)
ans=0
I then checked the element present at
a(2801)
ans=2.80000
then why ismemeber is not showing the element found in array when it actually exists?
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!