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