Plot data in map with LAT LONG

1 Ansicht (letzte 30 Tage)
M M Nabi
M M Nabi am 8 Apr. 2021
Beantwortet: KSSV am 8 Apr. 2021
I have some LAT and LON data and for those corresponding Lat Lon, I have some value. I want to plot those in a map.
Any idea?
LAT (100, 1)
LON (100,1)
power(100,1)

Antworten (1)

KSSV
KSSV am 8 Apr. 2021
You may see the below example for plotting.
x = LON ; y = LAT ; z = power ;
%%structured
xi = unique(x) ; yi = unique(y) ;
[X,Y] = meshgrid(xi,yi) ;
Z = reshape(z,size(X)) ;
figure
surf(X,Y,Z)
%%unstructured
dt = delaunayTriangulation(x,y) ;
tri = dt.ConnectivityList ;
figure
trisurf(tri,x,y,z)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by