From: Carnë D. <car...@gm...> - 2012-11-08 01:08:37
|
On 21 October 2012 15:15, <gio...@un...> 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ë |