error in lsqnonlin (line 232) error in lsqncommon (line 88)
Show older comments
Hello, there is someone who can tell me how to fix this? the function file (Diff) is correct and there is the green square
[x]=lsqnonlin(@Diff,x0,lb,ub);
Error using lsqncommon (line 88)
The Levenberg-Marquardt algorithm does not handle bound constraints and the
trust-region-reflective algorithm requires at least as many equations as variables; aborting.
Error in lsqnonlin (line 232)
[xCurrent,Resnorm,FVAL,EXITFLAG,OUTPUT,LAMBDA,JACOB] = ...
Accepted Answer
More Answers (0)
Categories
Find more on Choose a Solver in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!