How to shuffle matrix entries using MATLAB?

1 回表示 (過去 30 日間)
Sajid Sarwar
Sajid Sarwar 2020 年 3 月 5 日
コメント済み: Aquatris 2020 年 3 月 5 日
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.
  1 件のコメント
Aquatris
Aquatris 2020 年 3 月 5 日
It has been asked previously. Take a look here

サインインしてコメントする。

採用された回答

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMultidimensional Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by