help-octave
[Top][All Lists]
Advanced

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

Re: can't perform indexing operations for <unknown type> type


From: Doug Stewart
Subject: Re: can't perform indexing operations for <unknown type> type
Date: Mon, 23 May 2005 07:05:50 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

I don't get the error message when I run your code.

octave 2.1.42 on winXP
doug stewart
Kocsis Attila wrote:

Yep, it's a problem of inserting, the code itself
doesn't contain broken line.
I'm also running octave 2.1.69-1 on Debian sarge (64
and 32 bit versions) and got results seem to be fine,
so don't catch what can be wrong.
The error message is only that one line I've inserted
in the subject (or can I read more about this error
somewhere???).
I've enclosed the .m file if it helps...

Thanks a lot
Atis



--- Geraint Paul Bevan <address@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kocsis Attila wrote:
Yes, of course. Sorry for thinking that it's
something
general and somebody can answer it without seeing
the
code...

So the code is:

There seems to have been some problem when you
inserted the code into
the message:

...
        for m = 2:(N-1)
                a(m+1) = 2*a(m) - a(m-1) -
-N-m+1)*f*cos(a(m));
        end
...

However, modifying the broken line to remove the
syntax error, the code
runs fine using Octave 2.1.69 on Debian and does not
produce any warning
or error message.


That is. Nothing special, and the result is as it
should be, I just don't understand what is this
report
then:
error: can't perform indexing operations for
<unknown
type> type
I'm quite new to octave, before I had used some
Matlab, and I guess it would be OK on that...
If you want help debugging this problem, you will
have to let us know
the full error message that you are getting as well
as the version of
Octave that you are using, the platform on which it
is running, etc. and
an accurate copy of the code that you are trying to
run (adding it as an
attachment is generally better than cutting and
pasting into the email).

Have a look at the guidelines for bug reporting at:
http://www.octave.org/bugs.html

- --
Geraint Bevan
http://homepage.ntlworld.com/geraint.bevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)





-------------------------------------------------------------
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]