Only the real part of the complex number is displayed and not the imaginary part

1 visualización (últimos 30 días)
I'm facing this unusal problem. the output is saved as you can see in the workspace but its not being displayed in live editor so what is the problem.
update, though I didn't change anything, now the live ediotr displays only the real numbers just like the workspace.

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 11 de En. de 2021
Editada: KALYAN ACHARJYA el 11 de En. de 2021
You have to run the code (Click on the green triangular button) to execute eig function.
  2 comentarios
Diana
Diana el 11 de En. de 2021
I ran the code as you can see on the left hand, I do have the output, but its not being displayed anymore in live editor ... I mean I'm getting the answers but they are not being displayed, and if you evaluated them using the workspace you get the real number and not the imaginary ones
Diana
Diana el 11 de En. de 2021
you need also to change 6 to -6 to get the imaginary numbers as your output

Iniciar sesión para comentar.

Categorías

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

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by