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 个)
Walter Roberson
2019-7-23
0 个投票
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 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!