最適化計算における反復表記のフォーマットについて
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
以下のオプションを設定し、最適化計算の収束履歴を出力したいのですが、
表示されるf(x)の値が「1.234e8」というような指数表記となり、全体の数値を確認できません。
options = optimoptions('particleswarm','Display','iter');
数値の詳細まで見るために表示フォーマットを変更する方法はないでしょうか。
0 Commenti
Risposta accettata
michio
il 7 Lug 2020
コマンドウィンドウに表示される数値のフォーマットを変えるといかがでしょう。
例えば
format long
と実行した後、最適化を試してみて頂けますでしょか?
4 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su ソルバー出力と反復表示 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!