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');

 채택된 답변

Ahmed raafat
Ahmed raafat 2017년 10월 16일

1 개 추천

x=your_value*ones(1,length_of_y);
plot(x,y)

댓글 수: 3

Good mind
Good mind 2017년 10월 16일
ahmed,thank you very much. so, how can i get it dotted??
Ahmed raafat
Ahmed raafat 2017년 10월 17일
plot(x,y,'.')
Good mind
Good mind 2017년 10월 17일
salam ahmed,thank you

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

추가 답변 (0개)

카테고리

제품

태그

질문:

2017년 10월 16일

댓글:

2017년 10월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by