Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!m16g2000yqc.googlegroups.com!not-for-mail
From: steeve_dun <steeve_dun@yahoo.fr>
Newsgroups: comp.soft-sys.matlab
Subject: Sorting a cell array according to another
Date: Sun, 8 Nov 2009 08:23:18 -0800 (PST)
Organization: http://groups.google.com
Lines: 6
Message-ID: <92bcbdae-a733-4aab-81c6-f7f15b418fdc@m16g2000yqc.googlegroups.com>
NNTP-Posting-Host: 88.176.45.61
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1257697398 25027 127.0.0.1 (8 Nov 2009 16:23:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 8 Nov 2009 16:23:18 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: m16g2000yqc.googlegroups.com; posting-host=88.176.45.61; 
	posting-account=iW7MyQoAAAD0jUvNeCvlnzmBCG3MRPQd
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; 
	Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; FDM; .NET 
	CLR 1.1.4322; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; .NET CLR 
	3.5.30729; .NET CLR 3.0.30729; InfoPath.2; yie8),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:583361


Hi,
I have 2 cell arrays X and Y.
I’ve sorted X with [a idx]=sort(X) and I would like Y to be sorted
according to idx.
Can anybody help please?
Thanks in advance