求一个最小值,用循环求比较慢。

10 ビュー (過去 30 日間)
bidefe
bidefe 2022 年 11 月 25 日
1+1/2+1/3+......+1/(n-1)+1/n>30
式子如上,求使上面式子成立的n的最小值,用循环求比较慢,用fminsearch或者fminbnd怎么求呢?

回答 (0 件)

カテゴリ

Help Center および File Exchange编程 についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!