The following Matlab project contains the source code and Matlab examples used for a wrap of lsqnonlin using complex step differentiation to get jacobian . Complex step differentiation (CSD) is a superior numerical differentiation approach. Normally, it is more efficient and accurate than finite difference appraoch. This package provides a way to improve the MATLAB lsqnonlin function using the CSD.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.