In matlab, especially when testing a neural network, we see a special type of output. for example, 3.332e-23
or 5.e-235
. What is the meaning of "e" in the context of the output?
It is scientific notation, where e
is shorthand for *10^
.
You can change the output type in the console using the format command. For example . . .
>> 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