Hi folks, i have to find max of this function fun = @(x1, x2) (46 - 7.5*x1 - 3.5*x2 - 18.333*x1^2); I mean have to write code in matlab to find the max of this function (if exist). But i never work with Optim toolbox. So can someone help me i have one day to do it, i'll never managed to read optim toolbox so fast? Please help ..... Thanks !