Sort coordenates independently

D

darby1981

Hi
I would like to know if there is a way to sort a group of vectors (x,y
according to y value, without separating them in different columns.
The problem is I have a vector in each cell, in a matrix m*n (with som
missing values) which i would like to sort from the biggest value of
to the smallest, but always within a single row (or column, I ca
transpose them), independently.

Ex.
(x,y) (x1,y1) (x2,y2), (x3,y3)...
(x´,y´) (x´1, y´1) (x´2, y´2)....
(x",y") (X"1,y"1) (x"2,y"2)...


And I would like to sort each row independently according to the valu
of the second coordenate

Thanks for your help
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top