Clear Filters
Clear Filters

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 view (last 30 days)
Actually i am getting unexpected result at the end of the sample so that is why i wantto decrese the length

Accepted Answer

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

More Answers (1)

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

Categories

Find more on ECG / EKG 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!