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
Best Answer