How to create pairwise comparison matrix from input matrix?
Mostra commenti meno recenti
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 Commenti
KSSV
il 20 Set 2018
What is pairwise comparison matrix?
KALYAN ACHARJYA
il 20 Set 2018
@Haritha, Can you explain the problem by considering a matrix, what is input and what result you are expecting?
Haritha
il 20 Set 2018
madhan ravi
il 31 Ott 2018
Don’t close questions which has answer
Haritha
il 31 Ott 2018
madhan ravi
il 31 Ott 2018
Modificato: madhan ravi
il 31 Ott 2018
Use the same method which I gave as an answer
Risposte (2)
KSSV
il 20 Set 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
il 31 Ott 2018
Result= yourmatrix'./yourmatrix
Categorie
Scopri di più su Resizing and Reshaping Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
