I have taken a trace of an ECG sampled at 360HZ. from the following website:
http://www.physionet.org/physiobank/database/mitdb/
I have to contaminate it with an artificial 50Hz sinusoid.
I am working on MATLAB. I imported the .dat file got from the website to the Signal Processing tool in MATLAB. I have also created the 50Hz signal by the following:
x=0:0.001:0.05
y=sin(2*pi*50*x)
Now, I am unable to add the two signals together. Please help and advise how to do this. I am doing this so that I can test a filter I prepared.
Thank you.