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 .

 Akzeptierte Antwort

Stalin Samuel
Stalin Samuel am 6 Jan. 2016

0 Stimmen

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

5 Kommentare

Explorer
Explorer am 6 Jan. 2016
I am getting error i.e. Undefined function or variable 'val'.
Explorer
Explorer am 6 Jan. 2016
I am using older version of MATLAB. It's MATLAB R2013a
Explorer
Explorer am 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 am 6 Jan. 2016
Thank you Stalin.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by