Tom
Tom

Reputation: 828

What is the Small "e" in Scientific Notation / Double in Matlab

when I calculate a very small number, matlab gives
1.12345e-15 What is this?
I can interpret it as 1.12345*10^(-15) or its 1.12345*e^(-15) I am in very hurry. Sorry for the stupid question.

Upvotes: 2

Views: 1728

Answers (2)

Rahul Tripathi
Rahul Tripathi

Reputation: 172388

e represents exponential. Its the scientific notation of writing numbers.

The base is 10. For example:

1e2 =100
1e-2= 0.01

Upvotes: 4

krisdestruction
krisdestruction

Reputation: 1960

e represents scientific notation as Rahul said but it is base 10, not base e.

Run the following code to confirm.

1e1

It gives you

ans = 10

Upvotes: 3

Related Questions