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 Comments

What is pairwise comparison matrix?
@Haritha, Can you explain the problem by considering a matrix, what is input and what result you are expecting?
I want to create a pairwise matrix for the attached matrix. How can I?
Don’t close questions which has answer
There is no answer for this that's why I am closing
Use the same method which I gave as an answer

Sign in to comment.

Answers (2)

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,:)

Categories

Asked:

on 20 Sep 2018

Answered:

on 31 Oct 2018

Community Treasure Hunt

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

Start Hunting!