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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

KALYAN ACHARJYA
KALYAN ACHARJYA il 11 Gen 2021
Modificato: KALYAN ACHARJYA il 11 Gen 2021
You have to run the code (Click on the green triangular button) to execute eig function.
  2 Commenti
Diana
Diana il 11 Gen 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 il 11 Gen 2021
you need also to change 6 to -6 to get the imaginary numbers as your output

Accedi per commentare.

Tag

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by