This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

Current Point and Function Value

The current point and function value are the first two outputs of all Optimization Toolbox™ solvers.

  • The current point is the final point in the solver iterations. It is the best point the solver found in its run.

    • If you call a solver without assigning a value to the output, the default output, ans, is the current point.

  • The function value is the value of the objective function at the current point.

    • The function value for least-squares solvers is the sum of squares, also known as the residual norm.

    • fgoalattain, fminimax, and fsolve return a vector function value.

    • Sometimes fval or Fval denotes function value.

Was this topic helpful?