Smoothing a 2d matrix (DEM)

6 views (last 30 days)
Grant
Grant on 11 Feb 2013
Answered: Jennifer Rebbin on 20 Sep 2023
Hi I have a 2d matrix of integers, representing a digital elevation model of a glacier. I need to smooth it - interpolate between cells, but I can't find a way to do so. Thank you

Accepted Answer

Jennifer Rebbin
Jennifer Rebbin on 20 Sep 2023
Starting in R2023b, you can smooth noisy data in two dimensions by using the smoothdata2 function. As of R2023b, the supported smoothing methods for smoothing in two dimensions are average, median, Gaussian-weighted average, linear regression, quadratic regression, and Savitzky-Golay filter.

More Answers (1)

Doug Hull
Doug Hull on 11 Feb 2013
>>Doc Interp2

Community Treasure Hunt

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

Start Hunting!