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: Geraint Paul Bevan
Subject: Re: can't perform indexing operations for <unknown type> type
Date: Mon, 23 May 2005 10:43:12 +0100
User-agent: Mozilla Thunderbird 0.5 (X11/20040306)

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

iEYEARECAAYFAkKRpa8ACgkQcXV3N50QmNOzDACffz11z7xi0+FU2xLZEA9NmUSF
icIAoI0Xe+j3eqNxshPubyyQJ3SHkwZu
=/P3d
-----END PGP SIGNATURE-----



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