Eval function
shape
fminunc
function in MATLAB is used to minimize an unconstrained multivariable function. It stands for minimize unconstrained and is part of MATLAB's optimization toolbox. Specifically, it is used to find the local minimum of a scalar function of several variables, where the function is continuous and differentiable, and there are no constraints on the variables