Home > biosig > t310 > calcHRr.m

calcHRr

PURPOSE ^

Calculates and displays the instantaneous heart rate.

SYNOPSIS ^

function r = calcHRr(s, h, triallen, trls, class, rmartif, ref, alpha, cue, name)

DESCRIPTION ^

 Calculates and displays the instantaneous heart rate.

 This function calculates and displays the instantaneous heart rate relative to
 a reference interval. It also computes a confidence interval based on 
 bootstrap statistics.

 Usage:
   [hr, cl, cu] = plotHRd(s, h, triallen, trls, class, rmartif, ref, alpha, cue, name);

 Input parameters:
   s        ... Input signal (as obtained by sload)
   h        ... Header structure (as obtained by sload)
   triallen ... Length of one trial (s)

 Optional input parameters:
   trls    ... Trials
   class   ... Class
   rmartif ... Remove artifacts
   ref     ... Reference interval (in s)
   alpha   ... Significance level
   cue     ... Location of cue (s)
   name    ... Name of the data set (or subject)

 Output parameter:
   r ... Structure containing the results

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003