octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: intersect() tests


From: Steph Bredenhann
Subject: Re: intersect() tests
Date: Sun, 10 Aug 2014 21:30:12 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.0

From Ubuntu 14.04 and Matlab 2014a

ans =

     1     3


ans =

     3     1


ans =

     3     1


ans =

     3     1


ans =

     8     1

On 09/08/2014 16:33, Rik wrote:
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


--
Steph Bredenhann PrEng, PrCPM (sent from SJB-Linux)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]