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

3 views (last 30 days)
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!

Answers (1)

Saksham
Saksham on 17 Aug 2023
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

Categories

Find more on Complex Logic in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!