title: How to find all permutations (with repetition) in MATLAB?
body: <p>Suppose I have 4 letters and I want to arrange them in 3 places (repetition allowed), so I would have 4<sup>3</sup>=64 possible permutations. How can I compute and print them?</p>