フィルターのクリア

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 Center および File ExchangeMatrix Indexing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by