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

wfdbdesc

    function varargout=wfdbdesc(varargin)

     [siginfo,Fs]=wfdbdesc(recordName)

        Wrapper to WFDB WFDBDESC:
             http://www.physionet.org/physiotools/wag/wfdbde-1.htm

     Reads a WFDB record metadata and returns:

     signal
           Nx1 vector of siginfo structures with the following fields:

           LengthSamples           : Number of samples in record (integer)
           LengthTime              : Duration of record  (String WFDB Time)
           RecordName              : Record name (String)
           RecordIndex             : Record Index (Integer)
           Description             : Signal Description (String)
           SamplingFrequency       : Sampling Frequency w/ Units (String)
           File                    : File name (String)
           SignalIndex             : Signal Index (Integer)
           StartTime               : Start Time (String WFDB Time)
           Group                   : Group (Integer)
           AdcResolution           : Bit resolution of the singal (String)
           AdcZero                 : Physical value for 0 ADC (double)
           Baseline                : Physical zero level of signal (Integer)
           CheckSum                : 16-bit checksum of all samples (Integer)
           Format                  : WFDB's Format of the samples (String)
           Gain                    : ADC units per physical unit (String)
           InitialValue            : Value of sample 1 in the signal (Integer)

     Fs   (Optional)
           Nx1 vector of doubles representing the sampling frequency of each
           signal in Hz (if the 'SamplingFrequency' string is parsable).

     Required Parameters:

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

     %Example
     siginfo=wfdbdesc('challenge/2013/set-a/a01')

     Written by Ikaro Silva, 2013
     Last Modified: January 8, 2014
     Version 1.2

     Since 0.0.1
     See also RDSAMP