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 .

 Accepted Answer

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

5 Comments

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

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!