How to get the index from the comparison of two similar matrix?
How to get the index from the comparison of two similar matrix?
(OP)
There are two matrix which consist of the same colume vectors but they have different order in matrix
For example: A=[11 30 25;
14 20 50]
and B=[25 11 30;
50 14 20]
I want to get the colume index of B is [3 1 2]
I am quite new with matlab and so can I use simple function to solve this problem without loops?
For example: A=[11 30 25;
14 20 50]
and B=[25 11 30;
50 14 20]
I want to get the colume index of B is [3 1 2]
I am quite new with matlab and so can I use simple function to solve this problem without loops?





RE: How to get the index from the comparison of two similar matrix?
let me know if u would like to try with loops or vector approach, i can give u some hints