【问题标题】:the meaning of "e" in matlab outputmatlab输出中“e”的含义
【发布时间】:2012-10-08 16:27:38
【问题描述】:

在 matlab 中,尤其是在测试神经网络时,我们会看到一种特殊类型的输出。例如,3.332e-235.e-235。输出上下文中的“e”是什么意思?

【问题讨论】:

    标签: matlab notation


    【解决方案1】:

    这是科学记数法,其中e*10^ 的简写。

    您可以使用format 命令在控制台中更改输出类型。例如 。 . .

    >> x = 1.123456e5
    
    x =
    
       1.1235e+05
    
    >> format long
    >> x
    
    x =
    
         1.123456000000000e+05
    
    >> format longG
    >> x
    
    x =
    
                      112345.6
    
    >> format hex
    >> x
    
    x =
    
       40fb6d999999999a
    

    【讨论】:

      【解决方案2】:

      它是scientific notationAeB 表示 A x 10B

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2011-03-31
        • 2016-08-19
        • 1970-01-01
        • 2015-03-09
        • 2011-12-26
        相关资源
        最近更新 更多