Is it possible in matlab to explicitly format the output numbers?

前端 未结 7 1930
太阳男子
太阳男子 2020-12-02 02:07

I know about MATLAB\'s format long, format short, eng ... and so on. But short and long will always display a predefined number of decimals, with

相关标签:
7条回答
  • 2020-12-02 03:08

    The closest I could come up with, is:

    format bank
    

    It will give you no E, and 2 decimal places.

    try to read

    help format
    

    to look for other options there (I don't use Matlab anymore... switched to Free Software :) )

    0 讨论(0)
提交回复
热议问题