Timeline plot of GPS (Latitude and Longitude) data - Plot GPS overtime.
12 次查看(过去 30 天)
显示 更早的评论
In table A i do have Year, Month, Day, Hour, Minute, Sec, Latitude, Longitude, Altitude.
I have a plot of the gps coordinates using
geoscatter(table_A.Latitude,table_A.Longitude,4)
Now I want to plot the coordinates over time. any help?
0 个评论
采纳的回答
dpb
2022-10-21
tT.Time=datetime(tT.Year, tT.Month, tT.Day, tT.Hour, tT.Minute, tT.Sec);
plot(tT.Time, tT{:,{'Latitude', 'Longitude', 'Altitude'}})
2 个评论
dpb
2022-10-21
Try
tT.Time=datetime(tT.Year, tT.Month, tT.Day, tT.Hour, tT.Minute, tT.Sec);
plot(tT.Time, tT{:,{'Latitude', 'Longitude'}})
legend({'Latitude', 'Longitude'})
ylabel('Coordinates')
yyaxis right
plot(tT.Time, tT.Altitude)
ylabel('Altutude')
and it should all become clear... :)
The scale difference between the coordinates and the altitude on the same axes makes for strange bedfellows so split the altitude off onto its own axes.
It would appear the data are for a geosynchronous orbit; the position doesn't appear to change coordinates at all; the altitude seems pretty much a constant with some spikes (noise maybe???). The one extremely large spike surely seems anomalous, but knowing nothing about what the data are, it may be real or, again, bad data.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Orange 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!