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 次查看(过去 30 天)
z=1+0*i;

采纳的回答

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

更多回答(0 个)

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by