Remove the baseline wander
Ältere Kommentare anzeigen
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 Kommentar
Star Strider
am 4 Sep. 2019
Use a highpass (or bandpass) filter. If you are doing this in real time, implement it in hardware.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Filter Design finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!