I have two signals which represents angular kinematic of the upper limb. One signal has been acquired with IMU sensors and the other one with a stereophotogrammetric system. I have to compare those signals in order to verify the validity of the IMU system, but I have a big problem: the signal acquired with the sensors (the red one in the figure below) has not a uniform sampling frequency That means: due to the delay that the bluetooth module add when it pass the information from the sensors to pc I have different sampling time between two consecutive samples. The difference between an instant and the successive is reported in figure.
This means that the two signals, although they have a similar shape, are not perfectly superimposable, like in the figure below.
I tried to resample both the signals with interp1 but anything changes.
How can I manage this problem and resampling correctly the signal in order to make them superimposable?
Thanks so much!!!!!!!!!!!