Path: news.mathworks.com!not-for-mail
From: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: { } ---> [ ]
Date: Tue, 22 Jul 2008 11:01:12 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 15
Message-ID: <g64elo$79f$1@fred.mathworks.com>
References: <g64dnk$rkh$1@fred.mathworks.com>
Reply-To: "Ashwini Deshpande" <vd.ashwini@mathworks.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216724472 7471 172.30.248.38 (22 Jul 2008 11:01:12 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Jul 2008 11:01:12 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1101624
Xref: news.mathworks.com comp.soft-sys.matlab:480888



"ching l" <chinglnc@hotmail.com> wrote in message
<g64dnk$rkh$1@fred.mathworks.com>...
> is it possible to grab/convert the value in the cell array?
> 
> s= {[1 2 3] [3 4 5]} 
> 
> so that it becomes 
> 
> s= [1, 2, 3; 3, 4, 5]

help cell2mat

HTH,
Ashwini