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

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.

 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.

More Answers (3)

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.
1.0e+003 = 1000
Try in command window.. And no need to worry about this result..

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!