Hello,

 I would like to create all combinations of vectors. I find on Matalb   this
function 'combvec' which create  all combinations of vectors.

Please could you help me to find the corresponds function of 'combvec'.

For example:

On Matlab

>> a1 = [1 2 3; 4 5 6]

a1 =

     1     2     3
     4     5     6

>> a2 = [7 8; 9 10]

a2 =

     7     8
     9    10

>> a3 = combvec(a1,a2)

a3 =

     1     2     3     1     2     3
     4     5     6     4     5     6
     7     7     7     8     8     8
     9     9     9    10    10    10

Best Regards

	[[alternative HTML version deleted]]

