Dear developers,
If I use fzero.m with optional parameters that have to be passed to the
function called, it gives an error message if I use an initial guess. If
I use an interval instead, everything works fine:
I use the following function:
function y=testfunction(x,p1)
y=p1*x-1;
fzero(@testfunction,2,options,1) gives an error message
fzero(@testfunction,[0 2],options,1) works fine
I seems that in the first case the parameters are not passed to fsolve
Kind regards,
Matthias Mulder
R&D Engineer
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev