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

5 Ansichten (letzte 30 Tage)
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.

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by