Filter löschen
Filter löschen

How to polarplot theta=3*pi/4 ?

1 Ansicht (letzte 30 Tage)
Shivam Gupta
Shivam Gupta am 31 Okt. 2016
Beantwortet: Steven Lord am 1 Nov. 2016
theta=3*pi/4
  2 Kommentare
Thorsten
Thorsten am 31 Okt. 2016
This would be just a single point. Are you sure that this is what you want?
Shivam Gupta
Shivam Gupta am 31 Okt. 2016
This would be like a straight line passing through origin with angle with positive x axis 3*pi/4

Melden Sie sich an, um zu kommentieren.

Antworten (3)

Star Strider
Star Strider am 31 Okt. 2016
Bearbeitet: Star Strider am 31 Okt. 2016
theta = 3*pi/4;
figure(1)
plot(theta, 'pg')
EDIT Using the polar plot:
theta = 3*pi/4;
figure(1)
polar(theta*[1 1], [0 1], '-pg')

Thorsten
Thorsten am 1 Nov. 2016
theta = 3/4*pi;
plot([0 cos(theta)], [0 sin(theta)])
axis equal
axis([-1 1 -1 1])

Steven Lord
Steven Lord am 1 Nov. 2016
r = [-5 5];
theta = repmat(3*pi/4, size(r));
polarplot(theta, r)
Adjust the values in r to suit your desired polar axes radius.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by