Path: news.mathworks.com!not-for-mail
From: "David Doria" <daviddoria@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Get the first element out of each cell of a cell array
Date: Tue, 11 Mar 2008 20:56:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 13
Message-ID: <fr6rl1$ifj$1@fred.mathworks.com>
Reply-To: "David Doria" <daviddoria@gmail.com>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1205268962 18931 172.30.248.37 (11 Mar 2008 20:56:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 11 Mar 2008 20:56:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1105197
Xref: news.mathworks.com comp.soft-sys.matlab:456659



I have a cell 4x20 cell array called L

each element of L is a 1x20 vector

How do I make a vector of all the first elements of L(1,:)?

I tried L(1,:)(1) to no avail.

Please let me know,

Thanks!

David