Best filter to remove signal noise for this instance?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200521/image.jpeg)
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Multirate Signal Processing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!