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.

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 23 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 23 Okt. 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)

Gefragt:

am 23 Okt. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by