Smoothing a 2d matrix (DEM)

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.

Categories

Find more on Interpolation 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!