MATLAB: Downsample or upsample an ECG signal

ecgekg

I have acquired ECG signals with a sampling frequency of 62 Hz. It was very low but useful for my experiments. Now I have to add some dataset which is publically available to my datset in order to augment it. The new EKG dataset has a sampling frequency of 500 Hz. If I downsample the new dataset, the signals I am left with are very few. Is it advisable to upsample my original acquired dataset?
If I resample it the affect is same as downsampling?
Looking for a solution!

Best Answer

I don't think downsampling the 500Hz signal is a good idea. It may result in a loss of information. Whether you need to upsample the 62Hz signal depends on how are you going to do the analysis. If both datasets need to be combined, then upsample the signal, probably using interp1().
"If I resample it the affect is same as downsampling?"
No. Downsampling will definitely result in loss of information that cannot be directly recovered from the signal itself. On the other hand, upsampling (if done properly) has no downside other than using more memory. It can always be reversed using the upsampled signal itself.