Azzera filtri
Azzera filtri

Best filter to remove signal noise for this instance?

5 visualizzazioni (ultimi 30 giorni)
I'm having trouble finding the most suitable filter to use as I'm pretty new to Matlab and signals in general. From some basic signal processing tutorials, I learnt that the Savitzky Golay Filter seems to be a fast way to clean up the signal noise. Does anyone have any recommendations on a better filter to use perhaps? Please ignore the blue graph as that is after I employed a detrend function to remove the linear trend as I am simply interested in the amplitude and frequency!
%Savitzky Golay Filter
order=1;
framelen=25;
sgf=sgolayfilt(truestrain,order,framelen);
sgf_detrend = detrend(sgf);
plot(time,sgf_detrend,'b')
xlim([0 60]);
hold on
plot(time,sgf,'r');
xlim([0 60]);
Here is the graph below for reference!

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by