Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


Spider
Posts:
23
Registered:
12/7/04


Re: sorting, ranking
Posted:
Aug 21, 2009 2:25 PM


that did the trick steve. It just seems to me that
rank = temp(I)
should be valid syntax, and is more intuitive than writing
rank(I) = temp
perhaps because I'm thinking that if I wanted to arbitrarily pull out values [7 4 9 1] from a vector A I would write
A([7 4 9 1])
and it would give me the 7th 4th 9th and 1st values from A in that order.



