I used following code
a=0:0.001:3ismember(2.8,a)ans=1
later I changed
a=0:0.001:3ismember(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?
Best Answer