Filtering a very noisy plot

2 visualizzazioni (ultimi 30 giorni)
Christian Tsobanoglou
Christian Tsobanoglou il 16 Feb 2021
Risposto: Dongyue il 18 Nov 2022
Hello! I am trying to apply a filter to filter the following force plot. I have tried many like lowpass but I haven't got any to work because I am just not good at matlab. Do you have an idea about how to do it. Maybe I should do a curve that follows the tops of the plot?

Risposte (1)

Dongyue
Dongyue il 18 Nov 2022
Hi Christian,
A simple example to create a lowpass filter is shown below. Hope this will be helpful:
signal_original = rand([1,1000]);
plot(signal_original)
hold on
signal_lowpass = signal_original;
signal_lowpass(signal_lowpass>0.5) = 0.5;
plot(signal_lowpass)
hold off
Best,
Dongyue

Community Treasure Hunt

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

Start Hunting!

Translated by