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

4 Ansichten (letzte 30 Tage)
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!

Antworten (1)

Saksham
Saksham am 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

Kategorien

Mehr zu Complex Logic finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by