Correction of ectopic beat Presence Effect This Algorithm corrects the effect of ectopic beats, annotated by the function QRScorr, by calculating the corrected Heart Timing Signal, according to the IPFM - Modell With the Heart Timing Signal the HRV PSD estimation can be calculated by the FHTIS - method. (see ) INPUT: QRStime: Time values of the detected QRS-Complexes ectb_times: Time values of the ectopic beats generated by QRScorr(output-variable: ANNOT.mov) OUTPUT: ht: ht.data: Heart Timing Signal ht.time: Dedicated Time Series m: Derivative of the heart timing signal, dedicated time series is "ht.time" r: Instantaneous Heart Rate dedicated time series is "ht.time" Example: [ht,m,r] = ECTBcorr(QRStime_corr,ectb_times); Filename: ECTBcorr.m Last modified: 2003/09/15 Copyright (c) 2003 by Johannes Peham Reference:  J. Mateo, P. Laguna, Analysis of Heart Rate Variability in Presence of Ectopic Beats Using the Heart Timing Signal IEEE Transactions on biomedical engineering, Vol.50, No.3, March 2003 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either Version 2 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.