Info

This question is closed. Reopen it to edit or answer.

matrix manipulation - How to arrange the elements of the matrix based on a constraint?

1 view (last 30 days)
Hi, Let us consider an array {(c,d), (c,a), (a,b), (b,e), (b,d), (d,f), (f,a), (e,f)} If i want to place this in a 3X3 matrix in such a way no elements repeat in a column what should I do
expected answer
[c,d] [c,a] [d,f]
[b,e] [b,d] []
[f,a] [e,f] []
Is this possible?
Thanks in advance

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!