Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: { } ---> [ ]
Date: Tue, 22 Jul 2008 11:03:08 +0000 (UTC)
Organization: Imperial College
Lines: 16
Message-ID: <g64epc$8lr$1@fred.mathworks.com>
References: <g64dnk$rkh$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1216724588 8891 172.30.248.35 (22 Jul 2008 11:03:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 22 Jul 2008 11:03:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1274808
Xref: news.mathworks.com comp.soft-sys.matlab:480890



"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]


Try cell2mat

cheers

FOE