指数表示の外し方

85 visualizaciones (últimos 30 días)
Yusuke Morito
Yusuke Morito el 17 de Sept. de 2021
Comentada: Yusuke Morito el 17 de Sept. de 2021
コマンドウインドウで数値を表示する際に
84等の数値がいちいち「1.0e+03* 0.084」の指数表示にされて読みにくい
おそらく他の行列の数字が5,6桁になるのに合わせ指数表記にされていると思うが
指数表示など不要なので、デフォルトで全てを数値表示にしたい。
  1 comentario
Atsushi Ueno
Atsushi Ueno el 17 de Sept. de 2021
具体的な例
>> A = [62.13936842 0.177995034 775.6667218 602.7802686;
111.6034483 0.239980454 8507.594028 392.3158079;
55.35337105 0.033127596 1407.271504 1239.255459]
A =
1.0e+03 *
0.0621 0.0002 0.7757 0.6028
0.1116 0.0002 8.5076 0.3923
0.0554 0.0000 1.4073 1.2393

Iniciar sesión para comentar.

Respuesta aceptada

Hernia Baby
Hernia Baby el 17 de Sept. de 2021
数値の表示形式 をご参考ください
format関数で設定可能と思われます
  9 comentarios
Atsushi Ueno
Atsushi Ueno el 17 de Sept. de 2021
@Hernia Babyさんの回答(format)の、ShortGまたはLongGで解消しそうです。
Yusuke Morito
Yusuke Morito el 17 de Sept. de 2021
ありがとうございます!
コマンドウインドウはShortG、bankで解決できました
ワークスペースはどうも数値表示形式に
ShortGやlongG,bankに相当するものが
ないようなので仕様上しょうがないのかもしれませんね
※ワークスペースの表示タブ->数値表示形式に該当する選択肢がないようでした。
コマンドウインドウの表示が変えられるだけでも
相当にやりやすくなるので助かりました!
改めてお礼申し上げます。

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre MATLAB 入門 en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!