如何删除指数信号的纹波
How to delete ripple of an exponential signal
我有以下数据,对应于 "noisy" 指数形信号。
是否有任何 easy/intuitive 方法可以消除其中的 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');
我有以下数据,对应于 "noisy" 指数形信号。
感谢任何帮助!
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');