how to exchange matrix rows depending on distance
古いコメントを表示
hi guys, i have the following matrix A with distance D1 and matrix B with distance D2.

i want a code to exchange A rows with B rows which have higher distance, as moving row 2 in B to matrix A row 2 and remove the old row 2 in A. the output should be:

how to do this guys?
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!