How can I write Golden Section Search for a math equation?

How can I use golden section search for functions like this one? f(x)=(x-4)(x-6)^3(x-2)^2

Answers (1)

See FMINBND.

2 Comments

You're welcome, but please click "Accept" to certify that this solved your problem.

Sign in to comment.

Categories

Find more on Verification, Validation, and Test in Help Center and File Exchange

Asked:

on 17 Apr 2018

Commented:

on 17 Apr 2018

Community Treasure Hunt

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

Start Hunting!