索引超出矩阵维度

亚洲必赢娱乐第一平台 1

%%STAGE7%%======Rpeakdetection======function[亚洲必赢娱乐第一平台,R,GGGG]=R_peak_detection%Author:RatanaLim%Createddate:03/16/2018GGGG=notch_filter;[A10,D3,D4]=wavelet_transform;QRS_DET=D3+D4;%figure(7)%plot(QRS_DET)%title(‘QRSdetection’)sum=0;fori=1:length(D3)sum=sum+abs(QRS_DET(i));endThreshold=sum/length(D3)*3;%Threshold=0.2;k=1;i=1;%QRS_START(i):startpointofQRScomplex%R_max(i):R-peakvalues%R(i):positionofeachR-peakwhile(i=length(D3))ifQRS_DET(i)=ThresholdQRS_START(k)=i;i=i+200;k=k+1;endi=i+1;endk=1;fori=1:20R_max(i)=GGGG(QRS_START(i));forj=QRS_START(i):QRS_START(i)+200ifR_max(i)GGGG(j)R_max(i)=GGGG(j);endendforj=QRS_START(i):QRS_START(i)+150ifGGGG(j)==R_max(i)R(i)=j;endendend

亚洲必赢娱乐第一平台 1

发表评论

电子邮件地址不会被公开。 必填项已用*标注