Re: [OctDev] minmax

2012-11-08 Thread Carnë Draug
On 8 November 2012 16:10, Salva Ardid wrote: > El Dijous, 8 de novembre de 2012, a les 13:09:03, Carnë Draug va escriure: > >> Please avoid top posting and reply at the bottom of the e-mail >> >> On 8 November 2012 12:57, Salva Ardid wrote: >> > El Dijous, 8 de novembre de 2012, a les 11:46:19, C

Re: [OctDev] minmax

2012-11-08 Thread Salva Ardid
El Dijous, 8 de novembre de 2012, a les 13:09:03, Carnë Draug va escriure: > Please avoid top posting and reply at the bottom of the e-mail > > On 8 November 2012 12:57, Salva Ardid wrote: > > El Dijous, 8 de novembre de 2012, a les 11:46:19, Carnë Draug va escriure: > >> On 21 October 2012 15:1

Re: [OctDev] minmax

2012-11-08 Thread Giorgio De Nunzio
Hi! Sorry, really sorry for not being present when I might have been useful... I could not even reply to your emails when needed. Sorry again. I'll check the new version, thank you Carnë! Regards Giorgio On 08/11/2012 12.46, Carnë Draug wrote: > Hi Giorgio and Salva please give the following new

Re: [OctDev] minmax

2012-11-08 Thread Salva Ardid
> Please avoid top posting and reply at the bottom of the e-mail > > On 8 November 2012 12:57, Salva Ardid wrote: > > El Dijous, 8 de novembre de 2012, a les 11:46:19, Carnë Draug va escriure: > >> On 21 October 2012 15:15, wrote: > >> > Hi! > >> > there is a difference between matlab's minmax,

Re: [OctDev] minmax

2012-11-08 Thread Carnë Draug
Please avoid top posting and reply at the bottom of the e-mail On 8 November 2012 12:57, Salva Ardid wrote: > El Dijous, 8 de novembre de 2012, a les 11:46:19, Carnë Draug va escriure: > >> On 21 October 2012 15:15, wrote: >> > Hi! >> > there is a difference between matlab's minmax, and octave

Re: [OctDev] minmax

2012-11-08 Thread Salva Ardid
Hi Carnë, The link seems to be broken Salva El Dijous, 8 de novembre de 2012, a les 11:46:19, Carnë Draug va escriure: > 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

Re: [OctDev] minmax

2012-11-08 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] 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] minmax

2012-10-22 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] minmax

2012-10-22 Thread Jordi Gutiérrez Hermoso
On 21 October 2012 10:15, wrote: > there is a difference between matlab's minmax, and octave nnet pkg's min_max. The nnet package is severely bitrotten. Can you maintain it? - Jordi G. H. -- Everyone hates slow website

[OctDev] minmax

2012-10-21 Thread giorgio . denunzio
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 a matrix. Octave does not like the input image to be a sin