
filtering and smoothing 2d data
3 次查看(过去 30 天)
显示 更早的评论
Hi all,
I have latxlon data of sea level pressure but due to its high spatial resolution (50 km), they are very noisy. My task is to smooth (or to filter) these data. I need also to remove noise with defined wavenumbers (bandpass filter)
What is the appropriate way to do this task?
Firstly, To smooth data before filtering, with the use of, for instance, median filter or something else. Secondly, To filter the noise with defined wavenumbers (bandpass filter)?
or to apply only filtering without smoothing?
I would be happy if you provide some code how to smooth or filter with defined wavenumbers.
Thank you very much!
0 个评论
回答(2 个)
Image Analyst
2015-11-2
You can use sgolayfilt() in the Signal Processing Toolbox, like in my attached demo.

OR you can use "Alternating sequential filters" like presented in this link: http://perso.esiee.fr/~coupriem/Pdf/cb04.pdf
0 个评论
Image Analyst
2015-11-2
If you want to smooth an image instead of a boundary of specific latitude by longitude coordinates, then you can use Fourier filtering. I attach some examples that you can adapt.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!