MATLAB Answers

Smoothing noisy 2D data

96 views (last 30 days)
Laurence hutton-smith
Laurence hutton-smith on 11 Jan 2018
Answered: Prasanth Sunkara on 22 Jan 2018
I have a dataset (attached as data.mat), it contains a matrix z with x and y coordinates, see it plotted below.
As you can see it is quite noisy in the majority of logspace, I was hoping to find a way to smooth this. Ideally I would like to use this , but it is not available on my version of MATLAB

Answers (1)

Prasanth Sunkara
Prasanth Sunkara on 22 Jan 2018
Hello Laurence, You can try masking your data using a simple 2D moving average. Please refer to this ML answer post to get started. https://www.mathworks.com/matlabcentral/answers/80508-create-a-moving-average

Community Treasure Hunt

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

Start Hunting!