Effacer les filtres
Effacer les filtres

detect atrial fibrillation in matlab - help

2 vues (au cours des 30 derniers jours)
ali alkhudri
ali alkhudri le 15 Avr 2015
Modifié(e) : ali alkhudri le 15 Avr 2015
Hi
I have to make a code which can go through vector rr which have length 61914 ...
I have to separate atrial fibrillation from the rr vector ..
I use a method which called Root Mean Square of the Successive Differences (RMSSD) to detect the atrial filibration in rr vector ...
L=61914;
RMSSD=0;
%[M,N]=size(rr);
for k=1:1:L-1
L=2;
RMSSD(k)=sqrt((1/(L-1))*((rr(k+1)-rr(k))^2));
end
for
if (RMSSD(k)) > 0.03
disp('1');
else
disp('0');
k=k+1
end
I am new in matlab so my code is not working as it should ... what should i do to get the atrial fibrillation points, if there is an atrial fibrillation so i should get 1 otherwise 0 and store it in a vector called detectRR ... any suggestions please
figure shows atrial fibrillation in the rr vector ...
THANKS

Réponses (0)

Catégories

En savoir plus sur Visual Exploration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by