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 次查看(过去 30 天)
Actually i am getting unexpected result at the end of the sample so that is why i wantto decrese the length

采纳的回答

Jan
Jan 2013-2-27
ecg = rand(1, 304);
plot(ecg(1:300));

更多回答(1 个)

Walter Roberson
Walter Roberson 2013-2-27
plot(t(1:300), signal(1:300)) ?

类别

Help CenterFile Exchange 中查找有关 ECG / EKG 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by