How can I find the exact value of the corresponding point in specific longitude and latitude?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
Andrei Bobrov
2019년 10월 18일
편집: Andrei Bobrov
2019년 10월 18일
I really appreciate your prompt response
"xy.mat" are the projection 'x' and 'y' coordinate in meters.
답변 (1개)
Andrei Bobrov
2019년 10월 18일
편집: Andrei Bobrov
2019년 10월 18일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Geographic Plots에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!