Effacer les filtres
Effacer les filtres

simple complex plot of a few points

1 vue (au cours des 30 derniers jours)
Robert le 22 Nov 2016
Commenté : Star Strider le 22 Nov 2016
All i want to do is plot a few points on a complex plot aka the S Plane
If i want to plot a single point at say -2 + 2*sqrt(3)*j how would i go about doing such a thing.

Réponses (1)

KSSV le 22 Nov 2016
Modifié(e) : KSSV le 22 Nov 2016
z = -2 + 2*sqrt(3)*i ;
plot(z,'.r') ;
plot(real(z),imag(z),'.r') ;
  5 commentaires
KSSV le 22 Nov 2016
plot(real(z),imag(z),'.r') ;
xlabel('Real part')
ylabel('Imaginary part')x
Star Strider
Star Strider le 22 Nov 2016
‘i need the y axis to actually show the dang i or j’
See the documentation for text.

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by