'm_map' Conversion of longitude and latitude coordinates to xy coordinates.

조회 수: 2 (최근 30일)
ke
ke 2022년 12월 15일
답변: Abhiram 2025년 1월 28일
the range of longitude[110 130] latitude[35 42.2]
How to correspond to xy coordinates.x[1 300] y[1 300]
I want to assign values to each coordinate point, so please help me.

답변 (1개)

Abhiram
Abhiram 2025년 1월 28일
Hi,
I see that you want to map the latitude and longitude values within the specified range to x-y coordinates.
The desired result can be achieved using MATLAB ‘interp1’ function which can be used to get interpolated values of a 1-D function at specific query points. By default, interp1 uses linear interpolation.
For more details about the ‘interp1’ function, refer to the documentation:

카테고리

Help CenterFile Exchange에서 Purple에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by