help-octave
[Top][All Lists]
Advanced

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

Re: 3D array


From: Laurent Jacques
Subject: Re: 3D array
Date: Wed, 14 Nov 2001 13:36:07 +0100

On Wednesday 14 November 2001 12:56, Laurent Jacques wrote:
> On Wednesday 14 November 2001 02:11, address@hidden wrote:
> > I haven't used N dim arrays in Matlab. For those who have:
> > Is that Matlab implementation well thought out?
> > Or are there inconsistencies and ambiguities (as is
> > fairly common in some of the worse thought out parts of
> > Matlab syntax)?
>
> Well. It seems that in Matlab, the dimensions greater than 2 are extra
> dimensions in the sense that they don't participate to standard algebric
> manipulation.
>
> Here are some very basic examples:
> ===
>
> >> a = eye(3,3);   %% eye(3,3,3) not defined!
> >> a(:,:,1) = eye(3,3);

Of course, this is an error.
It must be a(:,:,2). 
Cut and past problem ;-)
Sorry



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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