How to shuffle matrix entries using MATLAB?

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.

 Akzeptierte Antwort

Weitere Antworten (0)

Kategorien

Gefragt:

am 5 Mär. 2020

Kommentiert:

am 5 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by