Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

How to plot the difference between two graphs..

Asked by rounak on 15 Feb 2013

hi everyone.. i am doing my project on comparing two ECG signals and narrowing down the abnormalities in the another. I am having many difficulties in proceeding with this project. I am generating a normal and abnormal ecgs using ecg .txt files. I ahve done many projects in image processing and i am have even done many projects in converting an image into binaries and subtracting them.But in these case i am unable to proceed any further . And i need all the help in the wotld since i have no team in these project.Thank you in advance

1 Comment

Shashank Prasanna on 15 Feb 2013

what have you tried so far? any sample code you have written you can share? My understanding is that you want to plot the difference of two ECG signals, is that right? Can you clarify what you are trying to do?

rounak

Tags

Products

No products are associated with this question.

1 Answer

Answer by Rick Rosson on 17 Feb 2013
Edited by Rick Rosson on 17 Feb 2013
figure;
subplot(3,1,1);
plot(t,x);
subplot(3,1,2);
plot(t,y);
subplot(3,1,3);
plot(t,x-y);

0 Comments

Rick Rosson

Contact us