What does i mean as example: 1.2428 - 0.0003i

14 visualizaciones (últimos 30 días)
Matlaber
Matlaber el 22 de Mzo. de 2019
Respondida: alan daniel el 25 de Mzo. de 2019
What is the meaning of the result i get when i run matlab code:
1.2428 - 0.0003i
1.2320 - 0.0003i
1.2250 - 0.0002i
1.2376 - 0.0003i
1.2332 - 0.0004i

Respuestas (2)

Walter Roberson
Walter Roberson el 22 de Mzo. de 2019
In this context i is the imaginary unit. Those are all complex numbers, such as complex(1.2428, -0.003)
  4 comentarios
Stephen23
Stephen23 el 22 de Mzo. de 2019
Editada: Stephen23 el 22 de Mzo. de 2019
"Is that mean imaginary unit means the answer is very small?"
No:
If your high-school did not teach complex numbers then you missed out on a very important mathematical concept. There are plenty of good tutorials online which introduce complex numbers.
Walter Roberson
Walter Roberson el 22 de Mzo. de 2019
If you were doing something like fsolve() or fzero() then it is possible that the system you are working with has multiple answers, some of which happen to be complex valued. If you are finding the root of an equation in a single variable, then you might need to use fzero() and pass a range of values as the second parameter to confine the search to that range.

Iniciar sesión para comentar.


alan daniel
alan daniel el 25 de Mzo. de 2019
Thanks

Categorías

Más información sobre Entering Commands en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by