i want plotting 14 vertical lines at the same time .is it possible??
load ecg.m;n=length(ecg); fs=360;t=0:1/fs:(n-1)/fs;CWTcoeffs = cwt(ecg,10:50,'sym4','plot');colormap jet; colorbar;ww=CWTcoeffs(15,:);qrs_thr_on=[170 440 690 947 1201 1460 1720] ;qrs_thr_end=[228 485 730 988 1245 1502 1765];subplot(321);plot(CWTcoeffs(15,:)); title('Scale 15');grid on;hold onx=[170,170];y=[-1500,1500];plot(x,y,'--')
Best Answer