I am relatively new to signal processing, so I am still missing some basic knowledge, but I am trying to improve as much as I can. I am trying to synchronize two signals with matlab using cross-correlation and I followed the matlab documentation. The problem is that my two signals are with different sample rates. The first signal is sampled at 1500 Hz and the second one at 800 Hz. Using matlab I downsampled the first signal to 800 Hz -
signal1 = resample(signal1, 800, 1500); and the synchronization worked.
Is there a way to avoid downsampling the first signal, because from what I know, when I downsample a signal, I lose information and I would like to avoid that. Furthermore, I am still not sure how to check if it meets the nyquist criteria, which if I have understood correctly, the nyquist frequency must be twice the sample rate. I did a
fft on my signal and if I am not wrong the frequency is roughly 750 Hz, so downsampling the first signal is not my best option. I will include a photo of the
fft was performed by following the documentation from matlab on how to plot the Single-Sided Amplitude Spectrum of X(t).