Remove the baseline wander
古いコメントを表示
I want to remove the motion artifacts from my signal. I am using matlab for the signal processing and this code for the serial communication with arduino. How can I do the motion artifacts removal?
clc
close all
clear all
if ~isempty(instrfind)
fclose(instrfind);
delete(instrfind);
end
%close all
clc
disp('Serial Port Closed')
s = serial('COM5','BaudRate',9600);
fopen(s);
fprintf(s,'*IDN?');
i = 1;
while true
x(i) = str2double(fscanf(s));
i = i + 1;
plot(x)
pause(0.1)
end
1 件のコメント
Star Strider
2019 年 9 月 4 日
Use a highpass (or bandpass) filter. If you are doing this in real time, implement it in hardware.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Filter Design についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!