Home > biosig > t250 > gettrigger.m

gettrigger

PURPOSE ^

GETTRIGGER identifies trigger points

SYNOPSIS ^

function TRIG = gettrigger(s,TH,rfp);

DESCRIPTION ^

 GETTRIGGER identifies trigger points 

 TRIG = gettrigger( s [,TH [,rfp]]); % trigger at ascending edge
 TRIG = gettrigger(-s [,TH [,rfp]]); % trigger at decending edge

 input : s       signal
         TH    Threshold; default: (max+min)/2
      rfp   refractory period (default=0)    
 output: TRIG    TRIGGER time points

 see also: TRIGG

CROSS-REFERENCE INFORMATION ^

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