Path: news.mathworks.com!not-for-mail
From: "Jose Miguel " <josemijauregui@hotmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: switch x y data in a matrix
Date: Tue, 22 Nov 2011 09:34:10 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 8
Message-ID: <jafqai$e64$1@newscl01ah.mathworks.com>
References: <jaebrk$p3b$1@newscl01ah.mathworks.com> <jafgsk$hau$1@newscl01ah.mathworks.com>
Reply-To: "Jose Miguel " <josemijauregui@hotmail.com>
NNTP-Posting-Host: www-01-blr.mathworks.com
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: newscl01ah.mathworks.com 1321954450 14532 172.30.248.46 (22 Nov 2011 09:34:10 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Nov 2011 09:34:10 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1468024
Xref: news.mathworks.com comp.soft-sys.matlab:750052

Thank you all for your answers,

Sorry for the lack of definition, 
The problem has been solved with the function sortrows, thanks!! 
I couldn't remember this function, this is what I needed

Regards,
Jose