Bug fminbnd not working
古いコメントを表示
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 件のコメント
madhan ravi
2019 年 1 月 20 日
Why do you say it's a bug?
Stephen Wilkerson
2019 年 1 月 20 日
Stephen Wilkerson
2019 年 1 月 20 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Vector Fields についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

