How to separate two signal?

Two signals are plotted on same figure as shown below. One signal is plotted in green color and the other one is in blue.
I need to plot them separately.
The code I used to plot above signal is:
plotATM('16786m')
Source files are available to download here
These signals are of ECG and taken from PhysioNet Database .

 Respuesta aceptada

Stalin Samuel
Stalin Samuel el 6 de En. de 2016

0 votos

figure()
plot(val(1,:))
figure()
plot(val(2,:))

5 comentarios

Explorer
Explorer el 6 de En. de 2016
I am getting error i.e. Undefined function or variable 'val'.
Explorer
Explorer el 6 de En. de 2016
I am using older version of MATLAB. It's MATLAB R2013a
Explorer
Explorer el 6 de En. de 2016
'val' function does not work in MATLAB rather it works in MuPAD and I don't know how to use MuPAD.
Stalin Samuel
Stalin Samuel el 6 de En. de 2016
load 16786m
figure()
plot(val(1,:))
figure()
plot(val(2,:))
Explorer
Explorer el 6 de En. de 2016
Thank you Stalin.

Iniciar sesión para comentar.

Más respuestas (0)

Preguntada:

el 6 de En. de 2016

Comentada:

el 6 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by