How to create pairwise comparison matrix from input matrix?
이전 댓글 표시
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
KSSV
2018년 9월 20일
What is pairwise comparison matrix?
KALYAN ACHARJYA
2018년 9월 20일
@Haritha, Can you explain the problem by considering a matrix, what is input and what result you are expecting?
Haritha
2018년 9월 20일
madhan ravi
2018년 10월 31일
Don’t close questions which has answer
Haritha
2018년 10월 31일
madhan ravi
2018년 10월 31일
편집: madhan ravi
2018년 10월 31일
Use the same method which I gave as an answer
답변 (2개)
KSSV
2018년 9월 20일
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
2018년 10월 31일
Result= yourmatrix'./yourmatrix
카테고리
도움말 센터 및 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!
