can anybody post the matlab code for assigning the entire qrs wave to zero and only keeping the p and t wave
Afficher commentaires plus anciens
i found out the startiong point of qrs wave (q point) and ending point(t point);;now i just have to eliminate the entire wave between these points
Réponses (1)
Wayne King
le 17 Fév 2013
If this is just a general question about setting points in a vector to zero, once you have the boundary indices, it's easy.
Ex:
x = 1:10;
x = [x fliplr(x)];
idxbeg = find(x>5, 1,'first');
idxend = find(x>5, 1,'last');
% idxbeg and idxend are the beginning and ending indices
x(idxbeg:idxend) = 0;
1 commentaire
Rahul
le 17 Fév 2013
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!