function [fetal_QRSAnn_est,QT_Interval] = physionet2013(tm,ECG) % inputs: % ECG: 4x60000 (4 channels and 1min of signal at 1000Hz) matrix of % abdominal ECG channels. % tm : Nx1 vector of time in milliseconds % output: % FQRS: FQRS markers in seconds. Each marker indicates the position of one % of the FQRS detected by the algorithm. % QT_Interval: 1x1 estimated fetal QT duration (enter NaN or 0 if you do wish to calculate) % % Fetal QRS detection: PhysioNet 2013 Challenge solution % by Mantas Lukosevicius & Vaidotas Marozas 2013 % ---- check size of ECG ---- if size(ECG,2)