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
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
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
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/
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:
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
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