How can I calc permutations of two vectors?

24 views (last 30 days)
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

Mischa Kim
Mischa Kim on 14 Apr 2014
Matteo, see this answer.

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!