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