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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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

*No products are associated with this question.*

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);

## 1 Comment

## Shashank Prasanna

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/63611#comment_129866

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?