Path: news.mathworks.com!not-for-mail
From: "John D'Errico" <woodchips@rochester.rr.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: matrix with matrix for each element
Date: Tue, 15 Jul 2008 13:54:02 +0000 (UTC)
Organization: John D'Errico (1-3LEW5R)
Lines: 19
Message-ID: <g5ia5q$moj$1@fred.mathworks.com>
References: <g5i9f9$eoo$1@fred.mathworks.com>
Reply-To: "John D'Errico" <woodchips@rochester.rr.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 1216130042 23315 172.30.248.38 (15 Jul 2008 13:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 15 Jul 2008 13:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 869215
Xref: news.mathworks.com comp.soft-sys.matlab:479494



"Dave Brackett" <davebrackett@hotmail.com> wrote in message 
<g5i9f9$eoo$1@fred.mathworks.com>...
> Hi, I am trying to create a matrix which has a matrix as
> each element e.g.:
> 
> h=[1:3]'
> h(1)=[1,2;3,4]
> 
> I then get this message which is understandable:
> ???  In an assignment  A(I) = B, the number of elements in B and
>  I must be the same.
> 
> 
> Is there a way to do this though?
> Thanks in advance.

help cell

John