geographic coordinates and speed

Good morning,
I wanted to know if it was possible to associate and plot, with different colors depending on various ranges, a constant speed value to geographic coordinates (therefore within a geoplot).
in practice I have a series of satellite acquisitions consisting of 3 columns: the first two are lat and long and the third is the speed acquired at that point. What I would like to do is have the satellite plot of the coordinates associated with their velocity value.
I don't know if I get the idea right.

 Accepted Answer

KSSV
KSSV on 2 Feb 2021
It depends on whether your data is scattered data or structured data. What ever it is, what you want is very much possible. Refer this link: https://in.mathworks.com/matlabcentral/answers/412639-creating-surface-plot-from-a-matrix-with-3-columns
Also have a look on griddata, scatteredInterpolant. To plot have a look on scatter, surf, pcolor.

1 Comment

the data is structured, imported from excel.
I had thought of doing it this way. But I don't know why, it gives me a plot as if all the values in the fourth column are zero (they aren't).
figure (1), geoplot(TYPE {:,2}, TYPE {:,3},'b')
if TYPE {i,4}==0
text(TYPE{:,2}, TYPE {:,3}, '*','color','green');
elseif (TYPE {i,4}>0 & TYPE {i,4}<5)
text(TYPE{:,2}, TYPE {:,3}, '*','color','red');
elseif (TYPE{i,4}>5 & TYPE {i,4}<10)
text(TYPE{:,2}, TYPE {:,3}, '*','color','magenta');
else
text(TYPE{:,2}, TYPE {:,3}, '*','color','yellow');
end
title( 'TITLE')
geobasemap satellite

Sign in to comment.

More Answers (0)

Categories

Products

Tags

Community Treasure Hunt

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

Start Hunting!