MATLAB: Optimizing a multi-variable function over just one of its inputs

fminconoptimization

I want to minmize a function with multi-inputs using "fmincon" by optimizing only one of those inputs. How could I do that?

Best Answer

https://www.mathworks.com/help/matlab/math/parameterizing-functions.html