help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confused about how to define a cell array of vectors


From: DushanM
Subject: confused about how to define a cell array of vectors
Date: Thu, 15 Nov 2007 01:40:28 -0700
User-agent: MacSOUP/2.8.1 (Mac OS X version 10.4.10 (x86))

I've still not puzzled this out, and my earlier question about it didn't
get a response, so I'm trying again.  Maybe rephrasing will help.

I have a 2-D, curved grid of points, indexed by (m,n).  The (x,y,z) com-
ponents of each point can be computed, giving three 2-arrays X, Y, and Z
so that X(m,n) is the x-component of the (m,n) point, etc.  What I would
now like to do, but don't know how, is define a 2-D cell array CA with
each cell a 3-vector: CA{m,n} = [ X(m,n); Y(m,n); Z(m,n) ].

Could someone please point me to how to do this, or to where I can find
out?  Thanks.

- Dushan Mitrovich


reply via email to

[Prev in Thread] Current Thread [Next in Thread]