필터 지우기
필터 지우기

can anybody post the matlab code for assigning the entire qrs wave to zero and only keeping the p and t wave

조회 수: 1 (최근 30일)
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

답변 (1개)

Wayne King
Wayne King 2013년 2월 17일
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
Rahul
Rahul 2013년 2월 17일
thankyou for your answer.but it doesnt show the required output...the size of my signal is 6000 samples and using the above program shows no change and the signal remains the same. i also have to implement the above code in an loop as the starting and end point change as the signal goes from one cycle to another

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

카테고리

Help CenterFile Exchange에서 Descriptive Statistics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by