File Exchange

image thumbnail


version 1.0 (71.1 KB) by

Non linear Leasr Squares Solver with box constraints/



No License

This program has been inspired by LMFsolve File ID: #16063.
On hard problems numerical difficulties may appear. Nlsqbnd comes mainly from a large fortran code written by Lindstrom and Wedin Institute of information processing university of UME, SWEDEN. Some corrections have been done. The interface Nlsqbnd is comptible with the standard calling of Matlab solvers. In particular nlsqbnd can be called exactlly as Lsqnonlin. A test program is included with several problem and results are compared with LMFsolve (with a new output argument for comparison purpose) and lsqnonlin. Nlsqbnd calls Blas and linpack codes. Mex files are provided for 32 and 64 bits windows platform.

Comments and Ratings (2)


Fares (view profile)

The mex files are compiled for 32 and 64 bit windows. What operating system is your MATLAB distribution installed on?


can you please suggest why I get the error

??? Undefined function or method 'elsunc' for input arguments of type 'function_handle'.

Error in ==> Nlsqbnd.nlsqbnd at 221

is it a problem accessing the elsunc.mexw64 file? I can't view it.


MATLAB Release
MATLAB 7.5 (R2007b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video