Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by