i want plot vertical dotted line on the same figure(scale 25), at samples: 180 and 220 the length of my ecg is 2000??
load ecg.m; subplot(221); plot(ecg); title ('ECG'); xlabel('samples'); ylabel('magnitude'); fs=360;subplot(222)CWTcoeffs = cwt(ecg,20:55,'sym4','plot');colormap jet; colorbar;subplot(223);qrs_thr_end=220;qrs_thr_on=180;plot(CWTcoeffs(25,:)); title('Scale 25');
Best Answer