MATLAB File Help: wfdbtime | View code for wfdbtime | WFDB Contents

wfdbtime

    function varargout=wfdbtime(varargin)

     [timeStamp,dateStamp]=wfdbtime(recordName,samples)

        Wrapper to WFDB WFDBTIME:
             http://www.physionet.org/physiotools/wag/wfdbti-1.htm

     Converts sample indices from recordName into timeStamp and dateStamps.
     Returns:

     timesStamp
           Nx1 vector of cell Strings representing times stamps with respect to the
           first sample in recordName.

     dateStamp
           Nx1 vector of cell Strings representing date stamps with respect to the
           first sample in recordName.

     Required Parameters:

     recorName
           String specifying the name of the record in the WFDB path or
           in the current directory.

     samples
           Nx1 vector of integers (indices) from signals in recordName (indices are
           relatitve to the first sample).

    %Example
    [timeStamp,dateStamp]=wfdbtime('challenge/2013/set-a/a01',[1 10 30])

     Written by Ikaro Silva, 2013
     Last Modified: January 16, 2014
     Version 1.1
     Since 0.0.1

     See also RDANN, WFDBDESC