Effacer les filtres
Effacer les filtres

Best filter to remove signal noise for this instance?

5 vues (au cours des 30 derniers jours)
Jonathan Phua
Jonathan Phua le 10 Jan 2019
Modifié(e) : Jonathan Phua le 10 Jan 2019
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!

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by