Mapping toolbox: irregular measured geo referenced data into regular grid
이전 댓글 표시
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
2022년 5월 9일
1 개 추천
"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
You can interpolate the data into a regular grid. Read about interp2
카테고리
도움말 센터 및 File Exchange에서 Coordinate Reference Systems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!