How to create pairwise comparison matrix from input matrix?

2 visualizaciones (últimos 30 días)
Haritha
Haritha el 20 de Sept. de 2018
Respondida: madhan ravi el 31 de Oct. de 2018
Hi,
I have a matrix 50*48 with all integer values. I want to create a pairwise comparison matrix for the input matrix. Please help me with this.
Thank you in advance
  6 comentarios
Haritha
Haritha el 31 de Oct. de 2018
There is no answer for this that's why I am closing
madhan ravi
madhan ravi el 31 de Oct. de 2018
Editada: madhan ravi el 31 de Oct. de 2018
Use the same method which I gave as an answer

Iniciar sesión para comentar.

Respuestas (2)

KSSV
KSSV el 20 de Sept. de 2018
May be you are looking for something like this:
A = rand(10,2) ; % Matrix data
B = A(7,:) ; % To compare with A
% Compare A with B, get index
idx = ismember(A,B,'rows') ;
iwant = A(idx,:)

madhan ravi
madhan ravi el 31 de Oct. de 2018
Result= yourmatrix'./yourmatrix

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by