checking for number of matching columns on each row of a tabl
3 次查看(过去 30 天)
显示 更早的评论
hi,
I have two tables each table has multiple columns.
I wannt to check the values from every row of certain columns (eg coulmns 2,4,7) from table a against all the rows of table b
I did it this way
for i=1:length(a) match=ismember(b(:,[2 4 7]),a(i,[2 4 7]) end
is there a way to do it without for? its making my runtime much longer than it should be
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!