Hi everyone , ı use wavedec function for decompase the ECG signal. But location of signal is shifted by wavelet transform. Therefore i cannot find R peaks for original signal. How can ı find locationof R peaks in original signal?

1 view (last 30 days)
[c,l]=wavedec(nfile,8,'db8'); ca1=appcoef(c,l,'db8',1); ca2=appcoef(c,l,'db8',2); ca3=appcoef(c,l,'db8',3); ca4=appcoef(c,l,'db8',4); figure(2),plot(ca1,'-k'),title('Cofficients of Signal At l Level Decomposition') figure(3),plot(ca2,'-k'),title('Cofficients of Signal At 2 Level Decomposition') figure(4),plot(ca3,'-k'),title('Cofficients of Signal At 3 Level Decomposition') figure(5),plot(ca4,'-r'),title('Cofficients of Signal At 4 Level Decomposition')

Answers (0)

Community Treasure Hunt

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

Start Hunting!