How can I find the exact value of the corresponding point in specific longitude and latitude?
Mostra commenti meno recenti
I have problem to extract exact value in projection coordinate, I actually want to extract the exact value of the point with a specific latitude and longitude (e.g., lat=45.2 and lon=28.7) from the attached data. I really appreciate anybody can help.
2 Commenti
Andrei Bobrov
il 18 Ott 2019
What is it xy.mat?
Andrei Bobrov
il 18 Ott 2019
Modificato: Andrei Bobrov
il 18 Ott 2019
I really appreciate your prompt response
"xy.mat" are the projection 'x' and 'y' coordinate in meters.
Risposte (1)
Andrei Bobrov
il 18 Ott 2019
Modificato: Andrei Bobrov
il 18 Ott 2019
load('data.mat');load('lat.mat');load('lon.mat');load('xy.mat');
F1 = scatteredInterpolant(LAT,LON,data)
F2 = scatteredInterpolant(LAT,LON,xx);
F3 = scatteredInterpolant(LAT,LON,yy);
lat=45.2;
lon=28.7;
out = [F1(lat,lon),F2(lat,lon),F3(lat,lon)];
3 Commenti
Andrei Bobrov
il 18 Ott 2019
Modificato: Andrei Bobrov
il 18 Ott 2019
Dear Andrei
What do you mean 'lon' and 'lat' in the following comment, is especific lon & lat for example lat=45.2 and lon=28.7?
out = [F1(lat,lon),F2(lat,lon),F3(lat,lon)];
Andrei Bobrov
il 18 Ott 2019
Yes.
Farshid Daryabor
il 21 Ott 2019
Categorie
Scopri di più su Geoscience in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!