Comparing two Accelerometer signals in time domain As a research to answer my question, I've been reading several posts on this stack with a common thread of &quot;comparing signals&quot;. The methods recurrently suggested were to use DTW, correlation or MSE etc.
The two signals I'm trying to compare are generated by piezoelectric single-axis accelerometer and they are periodic.
Out of 4 variables playing a role in signal amplitudes, two of the variables are different(A,B resp) and the rest are same(C,D resp).
My aim is to measure quantitatively how different the two signals are on the basis of variable B. At the moment, a qualitative way to go about this, according to my supervisors, is to look which among the two signals have the higher peaks.
I want to get a quantitative measure to compare the two signal's peaks or maybe the whole dataset which consists of 20,000 datapoints for a period of 10 sec. Are peaks/amplitudes the right way to go about this?
I suggest using a correlation metric as a comparison. Remove any mean in the signals and after subtracting the mean, compare the signals using the Pearson Correlation Coefficient to have a single data point that scales between +1 and -1 with regards to their direct correlation assuming any time offset factors have been removed, and even better as a first evaluation use the cross-correlation function which would provide the above (without normalization) for every offset in time, in case their are delays between the results.