Spike Toolbox

STConcat
Concatenate two spike trains

Syntax
[stTrain] = STConcat(stTrain1, stTrain2) [stTrain] = STConcat(stTrain1, stTrain2, strLevel) [stTrain] = STConcat(stCellTrain) [stTrain] = STConcat(stCellTrain, strLevel)

Description
STConcat combines two spike trains by joining them end-to-end. stTrain1 and stTrain2 are spike trains containing either mappings or instances. stTrain2 will be tacked on to the end of stTrain1. strLevel can be optionally used to specify what spike train level to concatenate, and must be one of {instance, mapping}.

STConcat can also accept a cell array of spike trains to concatenate. In this mode, the trains will be concatenated from index 1 to the end of the array


$Id: STConcat.html 1783 2005-08-31 21:05:51Z dylan $