Bug fminbnd not working
Afficher commentaires plus anciens
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 commentaires
madhan ravi
le 20 Jan 2019
Why do you say it's a bug?
Stephen Wilkerson
le 20 Jan 2019
Stephen Wilkerson
le 20 Jan 2019
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Analog Devices ADALM1000 Support from Data Acquisition Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

