How to define a constrained region in 2D for a function?

3 次查看(过去 30 天)
Hi everyone,
I am trying to find the minimum point of the function by using steepest descent algorithm. When the code stars running, derivatives and variables go to infinity. So, I want to put a constrained region on which my objective function works as it is searching the minimum without exceeding this defined region as a constraint. I think this may work.
The problem is that I do not know how I can add a constrained region on which the code works without exceeding that defined region.
I beg to your immediate help. Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Operators and Elementary Operations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by