1
$\begingroup$

I have computed the heart rate from two pleth signals (from two fingers -both are acquisition-ed from two different devices) heart rate pattern looks similar with some delay in it i could manually see the delay and add those offsets to the original pleth ...Is there any automated method to find the delay and to add those offsets to the original pleth signals in Matlab( both the pleth signals are downsampled to same 10 Hz)

$\endgroup$
  • 3
    $\begingroup$ You should be able to use cross-correlation to find the delay. $\endgroup$ – Paul R Sep 24 '12 at 11:33
4
$\begingroup$

Compute the cross-correlation of the two signals and look at the lag at which the cross-correlation takes its maximum value - this will give you the time offset providing the best alignment of the two signals.

| improve this answer | |
$\endgroup$
  • $\begingroup$ Depending on how well matched each of the derived heart rate signals are, this method 'may' benefit from pre-processing such as energy normalization using something like s = (s-mean(s)) / std(s). $\endgroup$ – CatsLoveJazz Jan 26 '16 at 15:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.