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 commentaires

Stephen23
Stephen23 le 31 Mai 2016
MAHESH VISHNOI
MAHESH VISHNOI le 14 Oct 2018
It is scientific notation, where e is shorthand for *10^.

Connectez-vous pour commenter.

 Réponse acceptée

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

2 commentaires

Swati Sahai
Swati Sahai le 9 Juin 2017
yeah that worked. Thank you.
madhan ravi
madhan ravi le 14 Oct 2018
Answer accepted by madhan ravi since the OP didn’t

Connectez-vous pour commenter.

Plus de réponses (3)

nyanphyo aung
nyanphyo aung le 31 Mai 2016

1 vote

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 le 7 Déc 2012

0 votes

1.0e+003 = 1000
Try in command window.. And no need to worry about this result..

2 commentaires

Kirti
Kirti le 7 Déc 2012
Thanks Lalit!!
Thanks a lot

Connectez-vous pour commenter.

Edwin Macharia
Edwin Macharia le 17 Juil 2018

0 votes

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

Catégories

En savoir plus sur Eigenvalues & Eigenvectors dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by