filt2 2D geospatial data filter

Easily perform 2D highpass, lowpass, bandpass, or bandstop filters on gridded datasets.
Updated 5 Jan 2017

View License

This function performs a 2D gaussian-weighted moving-window averaging filter on gridded datasets. It's designed to simplify the process of converting resolution to pixels and figuring out what sigma value to use. Click on the light bulb icon to the right on this page to see examples of use.

Cite As

Chad Greene (2024). filt2 2D geospatial data filter (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!


Version Published Release Notes

Added bandpass and bandstop filters.