How can I calc permutations of two vectors?

Hi,
how can I calc the permutation of two different vectors as [0 1 2 3 4] and [0 1 2 3]
0 0
1 1
1 2
1 3
2 1
2 2
2 3
3 1
3 2
3 3
4 1
4 2
4 3
thanks.
Matteo

 Accepted Answer

Matteo, see this answer.

More Answers (0)

Categories

Asked:

on 14 Apr 2014

Commented:

on 14 Apr 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!