Intersect

From CCN Wiki
Revision as of 15:37, 31 October 2016 by 128.205.173.136 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MATLAB equivalents of SQL JOINS can be done using the intersect function

test=intersect(find(M(:,2)==30), find(M(:,3)==30))