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 Commenti

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

Accedi per commentare.

 Risposta accettata

You may wish to give the command
format short g
or
format long g

2 Commenti

yeah that worked. Thank you.
Answer accepted by madhan ravi since the OP didn’t

Accedi per commentare.

Più risposte (3)

nyanphyo aung
nyanphyo aung il 31 Mag 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.
Lalit Patil
Lalit Patil il 7 Dic 2012
1.0e+003 = 1000
Try in command window.. And no need to worry about this result..

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by