How to shuffle matrix entries using MATLAB?

1 次查看(过去 30 天)
Let's suppose I have a 2by2 matrix. I need a code which gives me the matrices with same elements but at different positions e.g., for 2by2 matrix, 2^4 different combinations can be generated.

采纳的回答

BobH
BobH 2020-3-5
perhaps a modification based on the sample code showing use of perms?

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Multidimensional Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by