Code covered by the BSD License  

Highlights from
lsqnonlinCSD

from lsqnonlinCSD by Yi Cao
A wrap of lsqnonlin using complex step differentiation to get Jacobian

lsqnonlinCSD_example.m
n=128;
x0(1:n,1) = -1.9;
x0(2:2:n,1) = 2;
[x,resnorm] = lsqnonlinCSD(@bananaobj,x0,[],[],optimset('display','iter'));

Contact us at files@mathworks.com