MATLAB: Minimize the objective function J1

optimization minimize function

how to minimize the objective function in J1 using fminsearch? Start and end point of input polyline and Cg0 are same and given. what input should we require? plz explain with code if possible.

Best Answer

Perhaps this example is close enough to what you are trying to do to help.
Alan Weiss
MATLAB mathematical toolbox documentation