Change resolution of .xyz file in matlab

2 views (last 30 days)
Denise Janer
Denise Janer on 7 Aug 2020
Edited: KSSV on 7 Aug 2020
Hi, I have a .mat file containing three variables (each one is 1210x1101 double). This data has a resolution of 100-meters. I want to make it into 5 m-resolution. Is there a way to change the variables to generate higher resolution data?

Answers (1)

KSSV
KSSV on 7 Aug 2020
Edited: KSSV on 7 Aug 2020
You need to interpolate your data. Read about interp2.
Also if you have Z data, you can use imresize. Read about this as well.

Community Treasure Hunt

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

Start Hunting!