Re: [OctDev] minmax

2012-11-07 Thread Salva Ardid
Sure! >> x=minmax ({[0 1; -1 -2; 34 56] [2 3; 8 0; 21 23]; [1 -2; 9 7] [12 5; 13 11]}) x = [3x2 double] [2x2 double] >> x{1} ans = 0 3 -2 8 2156 >> x{2} ans = -212 713 Salva El Dijous, 8 de novembre de 2012, a les 02:39:06, Carnë Draug

Re: [OctDev] minmax

2012-11-07 Thread Carnë Draug
On 8 November 2012 02:23, Salva Ardid wrote: >>> minmax ({[0 1; -1 -2; 34 56] [2 3; 8 0; 21 23]; [1 -2; 9 7] [12 5; 13 11]}) > > ans = > > [3x2 double] > [2x2 double] Could you tell me what this values are exactly? It's not clear to me from their documentation what they are computing. Ca

Re: [OctDev] minmax

2012-11-07 Thread Salva Ardid
Yes, it seems they have a bug in their own code or that the example is just wrong: >> P = {[0 1; -1 -2] [2 3 -2; 8 0 2]; [1 -2] [9 7 3]}; >> pr = minmax(P) Error using minmax (line 27) Data{1,2} and Data{1,1} have different numbers of columns. >> minmax ({[0 1; -1 -2] [2 3; 8 0]; [1 -2; 9 7] [1

Re: [OctDev] minmax

2012-11-07 Thread Carnë Draug
On 8 November 2012 01:52, Salva Ardid wrote: >>> minmax ({[0 1; -1 -2] [2 3 -2; 8 0 2]; [1 -2] [9 7 3]}) >Error using minmax (line 27) >Data{1,2} and Data{1,1} have different numbers of columns. This is weird. This an example taken from Matlab's own documentation http://www.mathworks.co.uk/help/

Re: [OctDev] minmax

2012-11-07 Thread Salva Ardid
Hi, I recently ran into these troubles too. It's nice if this can get fixed. And unless some particular reason I may not know, I would suggest to use the same name as in matlab (minmax instead of, or in addition to min_max) so code is consistent. I also checked what you asked in matlab r2012b:

Re: [OctDev] minmax

2012-11-07 Thread Carnë Draug
On 21 October 2012 15:15, wrote: > Hi! > there is a difference between matlab's minmax, and octave nnet pkg's min_max. > > In matlab: > minmax([1 2 3 4 3 4 5 6 4 3 4 5]) > gives > ans = > 1 6 > > In octave with nnet: > min_max([1 2 3 4 3 4 5 6 4 3 4 5]) > gives > error: Argument must be

Re: [OctDev] [gnu.org #779464] FreeBSD vs simplified BSD

2012-11-07 Thread Carnë Draug
CC'ing the mailing list with the reply... On 1 November 2012 22:23, Donald R Robertson III via RT wrote: >> [carandraug+...@gmail.com - Sun Oct 28 15:48:26 2012]: >> >> Hi >> >> I'm the maintainer of the Octave-Forge project >> http://octave.sourceforge.net/ which is a loosely organized collectio