Mapping toolbox: irregular measured geo referenced data into regular grid
3 views (last 30 days)
Show older comments
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!
0 Comments
Answers (2)
Bjorn Gustavsson
on 9 May 2022
"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
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!