From: Jos (10584) on
"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hj25so$ouj$1(a)fred.mathworks.com>...
* snip *
> The given example does not distinguish between SORTROWS or SORT of first line. The OP has to define what should happen for:
> NN=[ 1 2 3
> 4 2 9
> 4 1 9
> 3 5 9
> 2 9 3]
> What is the last row then?
> SORTROWS: [4 2 9], because it is "greater" than [4 1 9]
> SORT(1st column): [4 1 9], because it is "later" in the input.
>
> Kind regards, Jan

Dear Jan,

You're right: an ill-defined problem. Will we ever hear from the OP?

Jos
First  |  Prev  | 
Pages: 1 2
Prev: Newton-Raphson
Next: Best fit with conditions