MATLAB Answers

create a matrix of elevations of some defined area

6 ビュー (過去 30 日間)
asaf lavi
asaf lavi 2019 年 12 月 23 日
回答済み: Kaashyap Pappu 2019 年 12 月 26 日
Im trying to create a matrix of elevations of some area.
To be more specific, i want to create a 21x21 matrix with 1 km gap between the matrix cells. I have the lat and long of the center of the map\matrix.
for example, if i type "load korea" on the MATLAB command then i get, among the rest, a variable with the name "map" - a 180x240 matrix that contains elevation values for each point.
How can i get a map like this for every area i want?
thanks a lot,
Asaf.

回答 (1 件)

Kaashyap Pappu
Kaashyap Pappu 2019 年 12 月 26 日
The Read Elevation Data Interactively documentation can help you get started on creating elevation maps. Using the appropriate region and sample values, you can generate elevation matrices as per your requirement.
The ‘Load Korea’ function is used for a few examples. Other sources of Raster Geodata is shown here. The resolution of these maps may not be as extensive as you may require.

Community Treasure Hunt

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

Start Hunting!

Translated by