Neural Network Toolbox™ Previous page   Next Page 
con2seq
 Provide feedback about this page

Convert concurrent vectors to sequential vectors

Syntax

Description

The 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.

con2seq(b) takes one input,

b
R x TS matrix

and returns one output,

S
1 x TS cell array of R x 1 vectors

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

b
N x 1 cell array of matrices with M*TS columns
TS
Time steps

and returns

S
N x TS cell array of matrices with M columns

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


 Provide feedback about this page 

Previous page compet concur Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS