help-octave
[Top][All Lists]
Advanced

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

Re: fsolve function parameters


From: David Bateman
Subject: Re: fsolve function parameters
Date: Thu, 30 Aug 2007 10:35:01 +0200
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

David Bateman wrote:
> address@hidden wrote:
>   
>> Unlike matlab, as shown here,
>>
>> x = fsolve(fun,x0,options,P1,P2, ... )
>>
>> octave does not allow for parameters P1, P2,... Is that on purpose?
>>
>> Gail
>>     
>
> Yes, as the preferred method in matlab and Octave is now to write that as
>
> fsolve (@f(x) fun(x, P1, P2), x0, options)
>
> D.
>
>
>   
To fast, that should of course read

fsolve (@(x) fun(x, P1, P2), x0, options)

D.



reply via email to

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