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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/200521/image.jpeg)
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Multirate Signal Processing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!