permuting one matrix w.r.t. another matrix
2 次查看(过去 30 天)
显示 更早的评论
I have two large matrices a and b. for instance
a=[1 2 3;4 5 6; 7 8 9; 10 11 12];
b=[1 3 2; 2 1 3; 3 2 1; 3 1 2];
how to get the matrix a in the form:
a = [1 3 2; 5 4 6; 9 8 7; 12 10 11]
This is actually the permutation of matrix a w.r.t. matrix b.
How to achieve this goal in matlab?
0 个评论
采纳的回答
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrices and Arrays 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!