Filter löschen
Filter löschen

i have an ecg signal of length 304 ,but while plotting i only want to plot the signal till 300..can anybody help me about how to do it

1 Ansicht (letzte 30 Tage)
Actually i am getting unexpected result at the end of the sample so that is why i wantto decrese the length

Akzeptierte Antwort

Jan
Jan am 27 Feb. 2013
ecg = rand(1, 304);
plot(ecg(1:300));

Weitere Antworten (1)

Walter Roberson
Walter Roberson am 27 Feb. 2013
plot(t(1:300), signal(1:300)) ?

Kategorien

Mehr zu ECG / EKG finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by