Plotting the distance between 2 time stamped sets of 100hz Navigation data (difference in Latitude & Longitude)

1 view (last 30 days)
Right now when I compare 2 sets of 100hz time stamped navigation data I will align the 2 data sets into a single table with time being the common common variable using the "outerjoin" command.
After it is in a single table I convert (DD.ddd) Degrees.Degrees into radians, then do a Lat1-Lat2, Long1-Long2.
With the differences in Radians I do an arc length calculation (s=r*Theta)
With the Navigation and Mapping tool boxes is there a more direct path to comparing the differences between 2 sets of Lat/Long data? I feel like there is porbably a command that will make my life more streamlined.
Thanks!

Answers (1)

Paul
Paul on 12 Aug 2022
Hi John,
As always, it's best to post some sample data and code and then explain what you think isn't working or what you'd like to improve. From the description in the question, I'm a bit skeptical of the arc length calculation. There is a function in the Mapping toolbox that may be of interest: distance

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!