Find extrema of a two variable function

I want to find the extrema (max and minimun) of the next function, such that -2<=x<=2 and -2<=y<=2
(sqrt(40*(x.^2).*(y.^2) +164*x.^2 -152*(x.^2).*(y)+ 8.*x.*(y.^2)+ 156*x -120*x.*y +26*y.^2 -56*y +45))./(-4*(x.^2)+4*x+3)
But I dont get no conclusive result.

回答(1 个)

The denominator can be 0 at two x values in that range, and the denominator can change sign. Depending on the sign of the denominator close to those two x, the value will approach arbitrarily close to +/- infinity.

类别

帮助中心File Exchange 中查找有关 Get Started with MATLAB 的更多信息

产品

版本

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by