MATLAB: Finding x & y-values that maximize an expression!!!!

estimatemaximizing

Hi all,
I want to find the x and y values that maximize the following expression.
Delta_i's are numeric values and R_i's are in terms of x and y.
Thank you!

Best Answer

You can use the fminsearch function because maximizing J is the same as minimizing -J. That is why there is no optimizing function in MATLAB that finds maximas, there are only functions that find minimas.
Related Question