Why do I receive a "Matrix is singular" warning when using the FMINCON function in the Optimization Toolbox 4.0 (R2008a)?
Show older comments
When I use the FMINCON function, I sometimes receive the following warning,
Warning: Matrix is singular, close to singular or badly scaled.
Results may be inaccurate. RCOND = NaN.
> In compdir at 29
In optim\private\qpsub at 376
In optim\private\nlconst at 736
In fmincon at 696
In myFunction at 19
Warning: Rank deficient, rank = 0, tol = NaN.
> In optim\private\qpsub at 612
In optim\private\nlconst at 736
In fmincon at 696
In myFunction at 19
Accepted Answer
More Answers (0)
Categories
Find more on Problem-Based Optimization Setup 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!