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

22 ビュー (過去 30 日間)
ke
ke 2022 年 12 月 15 日
回答済み: Abhiram 2025 年 1 月 28 日 9:31
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 日 9:31
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 Center および File ExchangePurple についてさらに検索

タグ

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by