Hi All, I have 5x4 matrix. I want to permute only element of columns such that each rows contains the same letter exactly once.
Here is my matrix

One possible matrix is m1 in the picture. I want to generate all matrix similar to m1. Exchange of column is not allowed.
Here is the code:
list = {a, b, c, d, e};
m = Table[Subscript[#, i], {i, 4}] & /@ list; MatrixForm@m
Any suggestions?
Thanks in advance..