Do these coordinates exist in any other GPS dataset?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I have five different datasets of GPS data which contain, Time in row one, Lattitude in row two, and Longitude in row three. I am trying to write some code to find out if one row of data matches another in a different dataset (All datasets are imported into matlab from a CSV file) i.e.
Dataset One 19:50:48, 50.374664, -4.135609, 19:51:49, 50.374999, -4.139999
Dataset Two: 19:50:48, 50.389882, -4.135609, 19:51:49, 50.374999, -4.139999
Running the code would tell me that dataset one and dataset two have a row in common.
Thanks, Lee
Answers (1)
Walter Roberson
on 12 Mar 2011
0 votes
I notice that the coordinates are not exactly the same between the databases: the first coordinate value differs by 0.015. This suggests that you want the comparison to be within a tolerance. Are the tolerances for X, Y, and Z all to be the same? Should the tolerance be per-coordinate, or should it be determined by whether the coordinates are within a particular spherical radius of each other? Or are you looking for the closest match?
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!