Sort a matrix by the first column

  • Follow


Hello
I am not able to do this on my own.
A = [.6 1; .7 3; .2 4];
So I have
..6 1
..7 3
..2 4
I need to sort it and get
..2 4
..6 1
..7 3

please

thanks
0
Reply eddoGrasho (24) 1/30/2004 3:10:20 AM

Edo wrote:
> 
> Hello
> I am not able to do this on my own.
> A = [.6 1; .7 3; .2 4];
> So I have
> ..6 1
> ..7 3
> ..2 4
> I need to sort it and get
> ..2 4
> ..6 1
> ..7 3

The same question has been asked one week ago, please check the replies 
to "sort a Matrix" posted on 01/23.

-Herbert
0
Reply herbert_DOT_ramoser (1148) 1/29/2004 10:19:26 AM


1 Replies
55 Views

(page loaded in 0.093 seconds)

Similiar Articles:













7/20/2012 4:12:22 PM


Reply: