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 vue (au cours des 30 derniers jours)
z=1+0*i;

Réponse acceptée

Fangjun Jiang
Fangjun Jiang le 16 Juil 2018
z=complex(1,0);
plot(z,'r+');

Plus de réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by