Rearrange columns of two matrices for match in a greedy way
Matrix to align to.
Matrix to be rearranged.
Vector of order to be applied to columns of mat2.
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.