Intersect: Difference between revisions

From CCN Wiki
Jump to navigation Jump to search
(Created page with "MATLAB equivalents of SQL JOINS can be done using the intersect function test=intersect(find(M(:,2)==30), find(M(:,3)==30)) Category: Matlab functions")
 
No edit summary
 
Line 2: Line 2:
  test=intersect(find(M(:,2)==30), find(M(:,3)==30))
  test=intersect(find(M(:,2)==30), find(M(:,3)==30))


[[Category: Matlab functions]]
[[Category: MATLAB functions]]

Latest revision as of 15:37, 31 October 2016

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

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