at what data rate should i take values? and how to code for it

조회 수: 1 (최근 30일)
Amit Kadarmandalgi
Amit Kadarmandalgi 2019년 2월 7일
댓글: Star Strider 2019년 2월 8일
I am using arduino matlab along with pulse sensor and I am not satisfied with the output as I dont think I am getting dicrotic curve I have written my current code and output that I am getting and what I am hoping to get. Also will any signal processing technique improve the output. please help.
output obtained
current code:
clear all
close all
clc;
a = arduino();
%%
v=zeros(500,1);
t=seconds(v);
t0=datetime('now');
for c=1:500
v(c) = readVoltage(a,'A0');
t(c)=datetime('now')-t0;
end
%%
plot(1:c,v);
title('Vata');
expected output

답변 (1개)

Star Strider
Star Strider 2019년 2월 7일
For cardiovascular data (including EKG) recording, the minimum sampling frequency is generally considered to be 250 Hz, giving a Nyquist frequency of 125 Hz. This will capture all the necessary data, and allow for filtering and other data processing. You can always downsample the data later if you want, however you cannot create data that you did not originally record.
  댓글 수: 8
Amit Kadarmandalgi
Amit Kadarmandalgi 2019년 2월 8일
but is it the same for PPG sensor?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Instrument Control Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by