Posts by Marcos • 13 points
1 post
-
1
votes1
answer721
viewsQ: How to generate a matrix of 3 columns where for each column there are 3 different possibilities?
The problem is as follows: In a vector I have 3 sets (A, B and C). Each set can have up to 3 distinct values(0, 1 or 2). This way I need to generate all possible combinations for this case, with…