Neural Network Toolbox Previous page   Next Page
con2seq

Convert concurrent vectors to sequential vectors

Syntax

s = con2seq(b)

Description

The Neural Network Toolbox 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.

con2seq(b)takes one input,

and returns one output,

con2seq(b,TS) can also convert multiple batches,

and will return,

Examples

Here a batch of three values is converted to a sequence.

Here two batches of vectors are converted to two sequences with two time steps.

See Also

seq2con, concur


Previous page  compet concur Next page

© 1994-2005 The MathWorks, Inc.