Borrar filtros
Borrar filtros

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 visualización (últimos 30 días)
Actually i am getting unexpected result at the end of the sample so that is why i wantto decrese the length

Respuesta aceptada

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

Más respuestas (1)

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

Categorías

Más información sobre ECG / EKG en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by