How can I run a median/low-pass filter over a Digital elevation model data in XYZ format

5 views (last 30 days)
I want to run a median/low-pass filter (over several hunders kilometers) over a Digital Elevation Model data which in XYZ format.
X is lon
Y is lat and
Z is the elevation.
Could you please point me in the right direction?
Thanks in advance

Answers (1)

Shashwat Bajpai
Shashwat Bajpai on 5 Aug 2019
I would try the following functions:
  • fir1
  • medfilt2
  • fspecial and imfilter
A similar question has steps on how to use the last two functions. You can refer to the following link for the question:
For further help on fir1 and medfilt2 refer the following links:

Community Treasure Hunt

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

Start Hunting!