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

3 vues (au cours des 30 derniers jours)
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!

Réponses (1)

Saksham
Saksham le 17 Août 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

Catégories

En savoir plus sur Complex Logic dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by