Quantcast
Channel: MarsHut
Viewing all articles
Browse latest Browse all 6551

intersect() tests

$
0
0
8/9/14

I'm trying to get the set series of functions to be compatible with their
own documentation, and secondarily with Matlab. Could someone run the
following tests?

x = 1:4;
y = 2:5;

size (intersect (x, y))
size (intersect (x', y))
size (intersect (x, y'))
size (intersect (x',y'))

x = rand (2,2,2);
y = x;

size (intersect (x,y))

Thanks,
Rik

Viewing all articles
Browse latest Browse all 6551

Trending Articles