the meaning of "e" in matlab output

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?

0

2 Answers

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 

It's scientific notation. AeB denotes A x 10B.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like