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.

채택된 답변

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