I got a problem when trying to find an element in a matrix. This is my matrix:
-106.283377231500 52.3353138528333
-106.283377140333 52.3353249450000
-106.283377238667 52.3353357275000
-106.283377487833 52.3353471300000
-106.283377541833 52.3353580896667
-106.283377776667 52.3353689166667
-106.283377591333 52.3353798870000
-106.283377810667 52.3353914036667
-106.283377711500 52.3354019898333
-106.283377595333 52.3354132866667
-106.283377653833 52.3354257965000
-106.283377829333 52.3354378235000
-106.283377616500 52.3354498565000
-106.283377619333 52.3354624370000
-106.283377568000 52.3354743758333
-106.283377423333 52.3354863070000
-106.283377382667 52.3354984161667
-106.283377054833 52.3355106328333
-106.283377120000 52.3355230306667
-106.283377177833 52.3355353523333
-106.283377172667 52.3355468450000
I know I have these values in row number 9:
-106.283377711500 52.3354019898333
And simply we should be able to find out this matter by using this command:
data(:,2)==52.3354019898333
But this gives me a zero array! The strange matter is that I can find the first element simply by the same command:
data(:,1)==-106.2833777115
And also I can get the number I'm looking for by this command:
data(9,2)
What am I doing wrong? Or is this a bug?