Path: news.mathworks.com!not-for-mail
From: "Bruno Luong" <b.luong@fogale.findmycountry>
Newsgroups: comp.soft-sys.matlab
Subject: Re: switch x y data in a matrix
Date: Tue, 22 Nov 2011 06:53:08 +0000 (UTC)
Organization: FOGALE nanotech
Lines: 14
Message-ID: <jafgsk$hau$1@newscl01ah.mathworks.com>
References: <jaebrk$p3b$1@newscl01ah.mathworks.com>
Reply-To: "Bruno Luong" <b.luong@fogale.findmycountry>
NNTP-Posting-Host: www-03-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1321944788 17758 172.30.248.48 (22 Nov 2011 06:53:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Nov 2011 06:53:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 390839
Xref: news.mathworks.com comp.soft-sys.matlab:750042

 A=[550000 4625000 0.750
550000 4624900 0.050
550000 4624800 0.050
550000 4624700 0.050
550000 4624600 0.050
550100 4625000 0.750
550100 4624900 0.050
550200 4624800 0.050
550200 4624700 0.050
550200 4624600 0.050]

sortrows(A,2)

% Bruno