Main Content

Write Objective Function

Define the function to minimize or maximize, representing your problem objective

How to express the objective for various problem types.

Functions

checkGradientsCheck first derivative function against finite-difference approximation (Since R2023b)

Topics

Write Objective

Pass Extra Parameters

Function Argument Details