Neural Network Toolbox    
combvec

Create all combinations of vectors

Syntax

Description

combvec(A1,A2) takes two inputs,

and returns a matrix of N1*N2 column vectors, where the columns consist of all possibilities of A2 vectors, appended to A1 vectors.

Examples


 cell2mat compet