checking for number of matching columns on each row of a tabl

3 ビュー (過去 30 日間)
ma sd
ma sd 2020 年 7 月 27 日
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 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by