MATLAB Answers

Kirti
1

what is 1.0e+003* in Matlab? what does * signify?

Asked by Kirti
on 7 Dec 2012
Latest activity Commented on by madhan ravi on 14 Oct 2018 at 7:22

hi all, when i am calculating eigenvalue of 5 by 5 matrix that time i am getting 1.0e+003*, 1.050, 0.0050,0,0,0 as result. what is 1.0e+003* in Matlab? what does * signify? please clarify. Thanks in advance

  2 Comments

It is scientific notation, where e is shorthand for *10^.

Sign in to comment.

4 Answers

Answer by Walter Roberson
on 7 Dec 2012
 Accepted Answer

You may wish to give the command

format short g

or

format long g

  2 Comments

yeah that worked. Thank you.

Answer accepted by madhan ravi since the OP didn’t

Sign in to comment.


Answer by Lalit Patil on 7 Dec 2012

1.0e+003 = 1000

Try in command window.. And no need to worry about this result..

  2 Comments

Sign in to comment.


Answer by nyanphyo aung on 31 May 2016

When you have y = Xe-3 that's a shorter way of saying y = X * 10^-3. Since multiplication distributes and the e operator only looks for the next number by default, yes, 1e-3 * X = X * 1e-3 = X * 10^-3. Likewise for addition.

  0 Comments

Sign in to comment.


Answer by Edwin Macharia on 17 Jul 2018

It actually means 1.0 x 10 ^(+0.003).

  0 Comments

Sign in to comment.