[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
fsolve compatibility with Matlab
From: |
Sylvain Pelissier |
Subject: |
fsolve compatibility with Matlab |
Date: |
Sun, 09 Dec 2007 16:14:03 +0100 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071022) |
I found that there is a small difference of fsolve between Octave and
Matlab.
In octave the syntax is :
[x,exitflag,output] = fsolve(fun,x0)
and in Matlab it's :
[x,fval,exitflag,output] = fsolve(fun,x0)
it could be better to add the output argument fval which is the value of
the function at the solution x to have a better compatibility with matlab.
signature.asc
Description: OpenPGP digital signature
- fsolve compatibility with Matlab,
Sylvain Pelissier <=