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 visualizzazione (ultimi 30 giorni)
z=1+0*i;

Risposta accettata

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

Più risposte (0)

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by