HOW SHOULD I REPEAT THE ECG WAVEFORM BY USING A "FOR "LOOP STATEMENT?

i already have generated ecg waveform & want to repeat that by using a for loop statement.plz help me out.

回答 (1 件)

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 10 月 23 日
編集済み: Azzi Abdelmalek 2012 年 10 月 23 日

1 投票

You don't need a for loop
Y=rand(1,30) % Y your ecg signal
n=10 % n number of repetitions
Yr = repmat(Y,1,n)

質問済み:

2012 年 10 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by