Can any one explain the returned value "9.4817e+03" .
Mostrar comentarios más antiguos
Can any one tell me what's the meaning of this value because it appears frequently in matlab, what's e and can i move from this representation of that value to another
shortestPathLength =
9.4817e+03
thank you
Help is much appreciated
2 comentarios
SADAGOBAN A
el 12 de Mzo. de 2017
in generally e+03 means exponential base 10,here e+03 means 1000 the value for 9.4817e+03 means 9.4817*1000 and the value is 9481.7 (Note:incase of e-03 means 1/1000=0.0001)
Tracie Lin
el 5 de Feb. de 2019
Editada: Tracie Lin
el 5 de Feb. de 2019
Correction: e-03 = 1/1000 = 0.001
Respuesta aceptada
Más respuestas (1)
GOHIL NIHAR AJITBHAI
el 24 de Dic. de 2022
0 votos
how to write 1x10^(-2.3) or 1.e(-2.3)in matlab ?
1 comentario
Please don't ask a question in an answer to another question. Learn to ask a question instead, as a separate question.
What you need to understand is that 10^(-2.3) is not written as you seem to think it is. You cannot use the e notation to write that number.
format long g
10^-2.3
Note that I do not need to use parens around the exponent, but sometimes it can be safer, in case you are not sure. So I could have written
10^(-2.3)
In either case, you need to see that raising 10 to a fractional power is not the same thing as just shifting a decimal place, AND you cannot put a decimal point in the exponent. So this next is invalid syntax in MATLAB:
1e-2.3
You need to use one of the two forms I showed first.
Categorías
Más información sobre Logical en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!