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 Sat 16-May-2009 00:04:49 by m2html © 2003