Synchronising two different signals
Mostra commenti meno recenti
Hello,
I am quite new to signal processing and I am trying my best to synchronize and align two signals that come from different devices.
One has a sample rate of 50 Hz and is recording acceleration with 3 axis (x, y and z). The other is recording ECG at 250Hz.
I have time marks of when both devices are turned on and off (which is different by max 10-20 seconds). Both seems to have 'time-drift', meaning that when looking at the data size, it never perfectly equals the size of Time*SampleRate. And even after resampling the 250Hz signal at 50Hz both data sizes have a small difference.
I have been trying different methods to align those signals but there is always a little delay between the two of them and I don't know what to do. I tried removing the time drift, synchronizing them with time-series, even the cross-correlation (even though I am not sure this can work since one of my signal has 3 axis)… Nothing seems to work.
So is there a way to know if there is major problem in one of the signals ?
Or is there another way of aligning/synchronizing those signals ?
I linked the two unfiltered signals.
Thanks,
Marine
2 Commenti
What are we to do with these?
Uz = unzip('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1157478/Data.zip')
EKG = readtable(Uz{5})
Acc = readtable(Uz{7})
Just looking at them, I have no idea.
.
Marpe
il 15 Ott 2022
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Signal Generation, Analysis, and Preprocessing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
