I have found some threads that are close to this question, but none that I have been able to modify for my needs. The question is this:
Say I have 3 object types a,b and c, where each has a quantity of x,y and z respectively.
I need to load all of the possible permutations into a matrix (not cells). In this case, I require permutations (as opposed to combinations).
I have never dealt with this type of code before (as in statistics).
Say I have 3 object types a,b and c, where each has a quantity of x,y and z respectively.
I need to load all of the possible permutations into a matrix (not cells). In this case, I require permutations (as opposed to combinations).
I have never dealt with this type of code before (as in statistics).