Mapping toolbox: irregular measured geo referenced data into regular grid

조회 수: 7 (최근 30일)
M
M 2022년 5월 9일
답변: Bjorn Gustavsson 2022년 5월 9일
Hi,
I have data of format [long,lat,data] with irregular distance along a track. Is there a way to create a regular grid e.g. 5m squares averaging my irregular data within each grid point using the Mapping toolbox?
Grateful for any advice!

답변 (2개)

Bjorn Gustavsson
Bjorn Gustavsson 2022년 5월 9일
"5m" sounds like a reasonably small region of data? If so, local topography might be more important than the curvature of Earth. Then you might use some local horizontal cartesian coordinates, or UTM, and use scatteredInterpolant, or griddata and then convert back to lat-long.
Come to think about it might can use scatteredInterpolant on the 3-D ECEF coordinates - though I'm not sure how well that would work.
HTH

KSSV
KSSV 2022년 5월 9일
편집: KSSV 2022년 5월 9일
You can interpolate the data into a regular grid. Read about interp2

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by