HOW SHOULD I REPEAT THE ECG WAVEFORM BY USING A "FOR "LOOP STATEMENT?
Show older comments
i already have generated ecg waveform & want to repeat that by using a for loop statement.plz help me out.
Answers (1)
Azzi Abdelmalek
on 23 Oct 2012
Edited: Azzi Abdelmalek
on 23 Oct 2012
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)
Categories
Find more on Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!