Reducing Density in Geographical Data

Hello,
I have a set of data, organized into four matrices (Length, Elevation, Latitude, Longitude). I am able to reduce the density of the latitude and longitude data using reducem, but I would like to apply the same filter to the length and elevation information so that the relations between each entry are preserved.

답변 (1개)

lvn
lvn 2019년 10월 9일

0 개 추천

You first have to get the indices of which elements are preserved. With those you can construct new elevation, and length vectors. Something like this:
[lat2,lon2] = reducem(lat,lon);
[~,idx] = intersect(lat,lat2,'stable');
elevation2=elevation(idx);
length2=length(idx);

카테고리

도움말 센터File Exchange에서 Geographic Plots에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 4월 27일

답변:

lvn
2019년 10월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by