Plot a point of my gridded map

1 view (last 30 days)
Felipe Silva
Felipe Silva on 3 Dec 2018
Answered: Chad Greene on 6 Mar 2019
Hello,
I have a mat file with: lat(290x940), lon(290x940) and sst(290x940x365)
I want to plot one point with the 365 values of SST.
How can i see the exactly coordinate in the map to create a new var(1x1x365)?
Thanks.

Answers (1)

Chad Greene
Chad Greene on 6 Mar 2019
If you know the grid indices, it would just be
sst1 = squeeze(sst(row,col,:));
where the corresponding geo coordinates would be
Lat(row,col)
and
Lon(row,col)

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!