Best filter to remove signal noise for this instance?

5 次查看(过去 30 天)
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!

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multirate Signal Processing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by