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 comentarios

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

Iniciar sesión para comentar.

 Respuesta aceptada

Walter Roberson
Walter Roberson el 7 de Dic. de 2012
You may wish to give the command
format short g
or
format long g

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (3)

nyanphyo aung
nyanphyo aung el 31 de Mayo de 2016

1 voto

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 el 7 de Dic. de 2012

0 votos

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

2 comentarios

Kirti
Kirti el 7 de Dic. de 2012
Thanks Lalit!!
utkalika pattanaik
utkalika pattanaik el 20 de Jun. de 2015
Thanks a lot

Iniciar sesión para comentar.

Edwin Macharia
Edwin Macharia el 17 de Jul. de 2018

0 votos

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

Categorías

Más información sobre Linear Algebra en Centro de ayuda y File Exchange.

Preguntada:

el 7 de Dic. de 2012

Comentada:

el 30 de Mzo. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by