MATLAB: How to maximize a function in Matlab

matlab functionmaximization

Hi everyone,
A(i,1) = sum(B(i,:)) + C*3;
I have function A as above. I wan t to maksimize this function. How can I do this?
Thanks.

Best Answer

Matlab contains some tools for minimization. A maximization does exactlly the same, if you change the sign of the optimization criterion.
Related Question