How can i plot whit the command plot a complex number with an imaginary part which is null? Can you make me an example of the code with this number?

1 Ansicht (letzte 30 Tage)
z=1+0*i;

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 16 Jul. 2018
z=complex(1,0);
plot(z,'r+');

Weitere Antworten (0)

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by