[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error: only one index allowed for lists
From: |
Prasenjit Kapat |
Subject: |
Re: error: only one index allowed for lists |
Date: |
Mon, 3 Oct 2005 14:06:13 -0400 |
Thanks again. Because of some tertiary constraints (adm access is just
a small part of which), I am stuck with this 2.1.50. And I guess,
brute force method is the only option!!!
> This type of operation isn't allowed because it really can't be defined
> in any sensible way for cell arrays. The contents of each cell are
> allowed to have different types (string, double, cell, struct, etc), and
> different dimensions. An operation such as the one you suggest would
> make sense for your example, where each element is a matrix of identical
> size, but not for a general cell array. I think your problem definitely
> calls for N-D arrays, which were introduced to Octave shortly after
> 2.1.50 if I recall correctly. If you don't have admin access, you might
> try compiling your own copy of octave in your home directory. I've been
> able to make this work successfully before. It does require a lot of
> disk space, though, so that could be problematic if you have
> quotas--maybe you could compile in /tmp.
>
> -Quentin
-------------------------------------------------------------
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
-------------------------------------------------------------