Smoothing noisy 2D data

16 visualizzazioni (ultimi 30 giorni)
Laurence hutton-smith
Laurence hutton-smith il 11 Gen 2018
Risposto: Prasanth Sunkara il 22 Gen 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

Risposte (1)

Prasanth Sunkara
Prasanth Sunkara il 22 Gen 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

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by