[Top][All Lists]

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

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

From: cmire
Subject: Re: error "can't perform indexing operations for <unknown type> type"
Date: Sun, 16 Oct 2005 10:11:58 -0500
User-agent: KMail/1.6.2

Thank you so much!  The output matches the example in the text perfectly 
(Applied Quantum Mechanics, by A. F. J. Levi -- Chapter 3, example 3.7).  Now 
I can rework this code for my homework (different shapes for the quantum 
wells -- so I have to modify the calculations for potential).

In the future, I'll remember to add code as an attachment.  I've never used 
Matlab, Octave, or Scilab before (have used ROOT for monte carlo 
simulations), and I am very impressed with the GPL scientific programs (and 
happy to have them as alternatives).

Again -- thanks!
Best Regards,
Charles Mire

On Saturday 15 October 2005 3:34 pm, Stefan van der Walt wrote:
> You can run your code by doing
> octave:1> Exercise
> I modified it slightly to work with Octave [attached] (we don't have
> the eigs function, so I replaced it with eig, which sorts the
> eigenvalues from largest to smallest).
> If you send code to the list, please add it as an attachment, rather
> than inlining it.  That way, there are no folding of long lines.
> Regards
> Stéfan
> On Sat, Oct 15, 2005 at 01:47:14PM -0500, cmire wrote:
> > I'm new to Octave, and I've got a short Matlab program from a professor
> > that we are supposed to modify to solve some homework problems.  I've
> > read that Octave can run Matlab code (I've updated the ~/octaverc file
> > accordingly, etc.).

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

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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