[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fsolve tolerance
From: |
Alex Verstak |
Subject: |
Re: fsolve tolerance |
Date: |
Mon, 2 Apr 2001 01:30:15 -0400 (EDT) |
You forgot to quote it.
fsolve_options('tolerance',1e-10)
=alex
On Sun, 1 Apr 2001, Jonathan Drews wrote:
> Hi:
>
> I am solving tan(x) - x and want to set a closer toleance. I try to set
> fsolve_options and I see:
>
> octave:4> fsolve_options
>
> *** fsolve_options:
>
> fsolve_options (KEYWORD, VALUE)
>
> Set or show options for fsolve. Keywords may be abbreviated
> to the shortest match.
>
> Options for fsolve include:
>
> keyword value
> ------- -----
>
> tolerance 1.49012e-08
>
> when I do fsolve(tolerance,1.0e-10) I get:
>
> octave:5> fsolve(tolerance,1.0e-10)
> error: `tolerance' undefined near line 5 column 8
> error: evaluating expression near line 5, column 8
> error: evaluating argument list element number 1
> error: evaluating index expression near line 5, column 1
>
> What am I doing wrong? TIA.
> --
> Cheers,
> Jonathan
>
>
>
> -------------------------------------------------------------
> 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
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
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
-------------------------------------------------------------
- fsolve tolerance, Jonathan Drews, 2001/04/02
- Re: fsolve tolerance,
Alex Verstak <=