
コマンドウィンドウの数式表示
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
数式の結果を出力したとき,sinやintのような数式が含まれた表示がされるのですが,
1.73205...のように具体的な数値で表示させたい場合はどのようにプログラムを書くといいのでしょうか?
現在表示は,数式にセミコロンをつけない形での表示方法をとっています.
0 Kommentare
Antworten (1)
Toshinobu Shintai
am 18 Mai 2020
数式というのは、Symbolic Math Toolboxで使える数式のことでしょうか。
例えば、以下の画像のように「double」という関数でキャストすることで具体的な数値にすることができます。

この画像の元ファイルも添付しています。
0 Kommentare
Siehe auch
Kategorien
Mehr zu Symbolic Math Toolbox 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!