Howdy, I'm wondering if anyone knows how to create a possible permutations matrix.
As an example, say you had 3 variables, [X Y Z]. And those 3 variables all could have 4 possible positions (A B C D). Given this data, one could have 64 possible combinations, such as:
AAA
AAB
AAC
.
.
.
.
DDD
Does anyone know how to generate this array in matlab, or excel or anything of the like? I just need to list, and that's it, I don't need to do anything with this array beyond capturing the various arrays that I need.