最適化計算における反復表記のフォーマットについて
2 views (last 30 days)
Show older comments
以下のオプションを設定し、最適化計算の収束履歴を出力したいのですが、
表示されるf(x)の値が「1.234e8」というような指数表記となり、全体の数値を確認できません。
options = optimoptions('particleswarm','Display','iter');
数値の詳細まで見るために表示フォーマットを変更する方法はないでしょうか。
0 Comments
Accepted Answer
michio
on 7 Jul 2020
コマンドウィンドウに表示される数値のフォーマットを変えるといかがでしょう。
例えば
format long
と実行した後、最適化を試してみて頂けますでしょか?
4 Comments
More Answers (0)
See Also
Categories
Find more on ソルバー出力と反復表示 in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!