Info
この質問は閉じられています。 編集または回答するには再度開いてください。
sorting matrix accroding to another matrix
1 回表示 (過去 30 日間)
古いコメントを表示
I have a Matrix
A= [ 1 2 3 2 3 1
2 1 4 3 2 1
2 3 3 4 4 1]
and the another matrix
B= [1 2 3 4]
i wamt sort the matrix A depends on the matrix B the output matrix is A
A=[1 1 2 2 3 3
1 1 2 2 3 4
1 2 3 3 4 4]
how should sort this way ie., the Matrix A will be sorted based on the matrix B.
thanks
1 件のコメント
José-Luis
2012 年 11 月 5 日
B = [1 3 4 2]
What output would you expect? Instead of asking the same question several times, it would be more efficient if you explained what you actually want.
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!