最適化計算における反復表記のフォーマットについて
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
以下のオプションを設定し、最適化計算の収束履歴を出力したいのですが、
表示されるf(x)の値が「1.234e8」というような指数表記となり、全体の数値を確認できません。
options = optimoptions('particleswarm','Display','iter');
数値の詳細まで見るために表示フォーマットを変更する方法はないでしょうか。
0 Kommentare
Akzeptierte Antwort
michio
am 7 Jul. 2020
コマンドウィンドウに表示される数値のフォーマットを変えるといかがでしょう。
例えば
format long
と実行した後、最適化を試してみて頂けますでしょか?
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu ソルバー出力と反復表示 finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!