【发布时间】:2018-09-27 19:19:15
【问题描述】:
【问题讨论】:
-
Stack Overflow 不是随便乱扔想法的地方。请自行研究,一旦有具体问题,请更新问题。
-
xupame un huebo
标签: matlab signal-processing noise ripple
【问题讨论】:
标签: matlab signal-processing noise ripple
Use median or averaging filters. For example this is from MATLAB's examples:
https://www.mathworks.com/help/signal/ref/medfilt1.html
% Create the signal
fs = 100;
t = 0:1/fs:1;
x = sin(2*pi*t*3)+0.25*sin(2*pi*t*40);
% Filter
y = medfilt1(x,10);
%Plot the result
plot(t,x,t,y);
legend('Original','Filtered');
legend('boxoff');
【讨论】: