8.2.59.46 table.innerjoin

Method: [out, ixa, ixb] = innerjoin (A, B)
Method: […] = innerjoin (A, B, …)

Combine two tables by rows using key variables.

Computes the relational inner join between two tables. “Inner” means that only rows which had matching rows in the other input are kept in the output.

TODO: Document options.

Returns: out - A table that is the result of joining A and B ix - Indexes into A for each row in out ixb - Indexes into B for each row in out