TEAP (Toolbox for Emotion Analysis using Physiological Signals) doc
interpIBI.m File Reference

This function interpolate an HR/IBI signal (from a list of peaks) with the method proposed in: Berger et al., "An Efficient Algorithm for Spectral Analysis of Heart Rate Variability", IEEE Trans. on Biomedical Engineering, Vol. 33, No. 9, sept. 1986. More...

Go to the source code of this file.

Functions

function interpIBI (in peaks, in fs, in duration, in silent)
 

Detailed Description

This function interpolate an HR/IBI signal (from a list of peaks) with the method proposed in: Berger et al., "An Efficient Algorithm for Spectral Analysis of Heart Rate Variability", IEEE Trans. on Biomedical Engineering, Vol. 33, No. 9, sept. 1986.

Parameters
peaksa list of R peaks expressed in seconds (e.g. [0.3 1.4 2.3 3.2])
fssampling frequency desired for the interpolated HR/IBI signal
durationduration desired. Concerning time aspects, the first sample is assumed to lie at time 1/fs (which can be before the first peak) and the last at time 'duration'. If point in time that are not computable because of lack of peaks (beginning and end of the output signals), they are simply padded with the closest computed value.

Definition in file interpIBI.m.

Function Documentation

◆ interpIBI()

function interpIBI ( in  peaks,
in  fs,
in  duration,
in  silent 
)
Return values
IBI[1*N]: N interbeat intervals (in seconds)
HR[1*N]: N heart rate values
t[1*N]: N time stamps corresponding to the IBI and HR values