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 .

 Réponse acceptée

Stalin Samuel
Stalin Samuel le 6 Jan 2016

0 votes

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

5 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by