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 view (last 30 days)
z=1+0*i;

Accepted Answer

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

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!