Clear Filters
Clear Filters

Change resolution of .xyz file in matlab

3 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.

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!