| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Optimization Toolbox |
| Contents | Index |
| Learn more about Optimization Toolbox |
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.
![]() | Examining Results | Exit Flags and Exit Messages | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |