[問題] 矩陣比對並計算權重已回收
data1.xls檔案
http://www.mediafire.com/?1jgzwg1gmzm
[num, txt]= xlsread('c:\data1')
x=struct('pid', txt(:,1), 'Title', txt(:,2), 'Applicant', txt(:,3),
'Inventor', txt(:,4))
我想請問用這種方式把檔案讀入後
我想要指定x(5)列比對和其他組的權重
如Patent ID符合、Title符合、Applicant不符合、Inventor不符合
該組和第x(5)組的權重為1+1+0+0=2
最後能列出整組首指定單組
請問要怎麼做呢?
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.117.100.17