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 could you please tell me what matlab's minmax returns in the following cases? minmax (1) minmax ([i 2; 3 4]) minmax (rand (2,2,2)) minmax ({[0 1; -1 -2] [2 3 -2; 8 0 2]; [1 -2] [9 7 3]}) minmax ({[0 1; -1 -2] [2 3; 8 0]; [1 -2] [9 7 3]}) minmax ({[0 1; -1 -2] [2 3 -2; 8 0 2]; [1 -2] [9 7 3; 8 0 2]}) I would expect that some, maybe all, will fail but would like to be sure to fix this. 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_d2d_nov _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev