Home > data-analysis > manip > cstream > align_cstreams.m

align_cstreams

PURPOSE ^

SYNOPSIS ^

function varargout = align_cstreams(varargin)

DESCRIPTION ^

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function varargout = align_cstreams(varargin)
0002 
0003 varargout = cell(1,numel(varargin));
0004 for c = 1:numel(varargin)
0005     if c > 1
0006         if size(varargin{c},2) == 2
0007             cev = cstream2cevent(varargin{c});
0008         else
0009             cev = varargin{c};
0010         end
0011         varargout{1,c} = cevent2cstreamtb(cev, varargin{1}(:,1));
0012     else
0013         varargout{1,c} = varargin{c};
0014     end
0015 end
0016 
0017 end

Generated on Tue 23-May-2017 02:00:59 by m2html © 2005