10.323e+003 changing to the normal disp

1 回表示 (過去 30 日間)
khaled DAWOUD
khaled DAWOUD 2012 年 7 月 20 日
i am making some calculation and disp the result on the sceen , but the numbers appears in this format 10.232e+003 , how i can fix that to be 10232 ? Thanks

採用された回答

Star Strider
Star Strider 2012 年 7 月 21 日
編集済み: Star Strider 2012 年 7 月 21 日
The format you have now is ‘shortEng’. The output closest to what you want would probably be:
format bank
You can type it at the command prompt anytime. If you specify it from the command prompt, it will stay that way until you change it, or until you start MATLAB again, when it will be whatever the MATLAB default format is. If you always want a particular format, you can change the default format in ‘MATLAB preferences’. (See ‘Set Preferences for MATLAB’ http://www.mathworks.com/help/techdoc/matlab_env/bq37czj-1.html.)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by