On 21 October 2012 15:15, <giorgio.denun...@unisalento.it> 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 a matrix. > > Octave does not like the input image to be a single line. > > Best regards! > Ciao > Giorgio
Hi Giorgio I'm sending this e-mail to the package maintainer, Michael Schmid, but its last release was almost 2 years ago. Could you please report the bug at https://sourceforge.net/p/octave/bugs/ And of course, if you are able to attach a patch too that would be great. I just tok a look at its source and should not be too difficult. And to create a patch (against the dev version), the following command will do it: svn diff > ~/bugfix.diff Carnë ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev