ResampleRR — Resample a RR cardiovalcular signal
[tn,xn] = ResampleRR(x,step)
a real vector. The initial RR signal values (a sequence of time intervals).
a real positive scalar. the discretisation time step
an optional real vector with 2 elements
[tmin,tmax]
, which can be used to
restrict the time interval for resampling. The default
value is [0,sum(x)]
a real vector. The time discretization points.
a real vector. The signal values at discretization points: the interpolated interval lengths.
The RR signal is sequence of time delay between two pics in
the ECG signal. ResampleRR(x,step)
is
equivalent to
Resample([0,cumsum(x(1:$-1))],step)
.