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!