How to create a Stateflow flowchart implementing the golden section search method for a 2-variable function?

4 次查看(过去 30 天)
I'm trying to implement the golden section search method to find the minimum optimal value of a 2-variable function, I'd like to represent the implementation in Stateflow flowchart. For example lets use the function "sqrt(3 * x * 4 * y+49*x-26*y)" as an example, how can the golden section search method be implemented for this 2D function in Stateflow flow chart? If you can help out or provide any resources for me to check out it would be greatly appreciated!

回答(1 个)

Saksham
Saksham 2023-8-17
Hi Mazen,
I understand that you are looking for resources to implement function in Stateflow flow chart.
Please follow the below link to learn about programming a function in Stateflow Chart:
I hope the above shared resource would be helpful for the use case.
Sincerely,
Saksham

类别

Help CenterFile Exchange 中查找有关 Complex Logic 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by