Home > data-analysis > manip > cevent > cevent_AND.m

cevent_AND

PURPOSE ^

SYNOPSIS ^

function AND = cevent_AND(cevent, event)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function AND = cevent_AND(cevent, event)
0002 if isempty(cevent) || isempty(event)
0003     AND = [];
0004     return
0005 end
0006 
0007 event = event_OR(event, event); % remove overlaps, merge perfectly adjascent sections
0008 
0009 chunks = event_extract_ranges(cevent, event);
0010 
0011 AND = vertcat(chunks{:});

Generated on Wed 24-May-2017 00:00:56 by m2html © 2005