Bug fminbnd not working
Mostra commenti meno recenti
fplot(@(x) x*(sin(x))^2*cos(x),[-2*pi 2*pi]);
[xMin1 fvalmin1] = fminbnd('-x*(sin(x))^2*cos(x)', -6, 6)
returns xMin1 = 1.0954
fvalmin1 = -0.3963
How is this possible, look at the plot?
3 Commenti
madhan ravi
il 20 Gen 2019
Why do you say it's a bug?
Stephen Wilkerson
il 20 Gen 2019
Stephen Wilkerson
il 20 Gen 2019
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Vector Fields in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

