Documentation |
Convert concurrent vectors to sequential vectors
S = con2seq(b)
S = con2seq(b,TS)
Neural Network Toolbox™ software arranges concurrent vectors with a matrix, and sequential vectors with a cell array (where the second index is the time step).
con2seq and seq2con allow concurrent vectors to be converted to sequential vectors, and back again.
S = con2seq(b) takes one input,
b | R-by-TS matrix |
and returns one output,
S | 1-by-TS cell array of R-by-1 vectors |
S = con2seq(b,TS) can also convert multiple batches,
b | N-by-1 cell array of matrices with M*TS columns |
TS | Time steps |
and returns
S | N-by-TS cell array of matrices with M columns |