数値表示を科学的記数​法から完全な数字に変​更するにはどうしたら​よいですか?

MATLABで数値を科学的記数法ではなく、完全な数字として出力するにはどうすればよいですか?

 Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 14 de Nov. de 2024

0 votos

数値を完全な数字として表示するためには、以下のコマンドを使用します:
format long
または、sprintfを使用してフォーマットを指定することもできます。例えば:
sprintf('%.15f', yourNumber)
これにより、指定した桁数まで数値を表示できます。

Más respuestas (0)

Categorías

Más información sobre プログラミング en Centro de ayuda y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!