Code covered by the BSD License
|
from
Permute a Matrix
by Andrey Popov
From given order of rearrangement constructs the permutation matrix P and computes B = P'*A*P |
|||
|---|---|---|---|
|
|||
Contact us at files@mathworks.com