필터 지우기
필터 지우기

How to create pairwise comparison matrix from input matrix?

조회 수: 3 (최근 30일)
Haritha
Haritha 2018년 9월 20일
답변: madhan ravi 2018년 10월 31일
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
Haritha
Haritha 2018년 10월 31일
There is no answer for this that's why I am closing
madhan ravi
madhan ravi 2018년 10월 31일
편집: madhan ravi 2018년 10월 31일
Use the same method which I gave as an answer

댓글을 달려면 로그인하십시오.

답변 (2개)

KSSV
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
madhan ravi 2018년 10월 31일
Result= yourmatrix'./yourmatrix

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by