[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question re function in .m file
From: |
John B. Thoo |
Subject: |
Re: Question re function in .m file |
Date: |
Tue, 14 Dec 2004 21:25:57 -0800 |
On Dec 14, 2004, at 8:55 PM, Dmitri A. Sergatskov wrote:
John B. Thoo wrote:
octave:2> quaderror (x)
error: `x' undefined near line 2 column 12
error: evaluating argument list element number 1
`x' undefined because you have not defined it.
Try
octave> x = pi /2;
octave> quaderror (x)
Ah, ha! Many thanks, Dmitri. :-)
I know I'm slow at learning Octave, so I appreciate everyone's patience
and help.
Cheers.
---John.
-------------------------------------------------------------
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
-------------------------------------------------------------