How to create pairwise comparison matrix from input matrix?
조회 수: 2 (최근 30일)
이전 댓글 표시
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
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,:)
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!