필터 지우기
필터 지우기

How to polarplot theta=3*pi/4 ?

조회 수: 3 (최근 30일)
Shivam Gupta
Shivam Gupta 2016년 10월 31일
답변: Steven Lord 2016년 11월 1일
theta=3*pi/4
  댓글 수: 2
Thorsten
Thorsten 2016년 10월 31일
This would be just a single point. Are you sure that this is what you want?
Shivam Gupta
Shivam Gupta 2016년 10월 31일
This would be like a straight line passing through origin with angle with positive x axis 3*pi/4

댓글을 달려면 로그인하십시오.

답변 (3개)

Star Strider
Star Strider 2016년 10월 31일
편집: Star Strider 2016년 10월 31일
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 2016년 11월 1일
theta = 3/4*pi;
plot([0 cos(theta)], [0 sin(theta)])
axis equal
axis([-1 1 -1 1])

Steven Lord
Steven Lord 2016년 11월 1일
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.

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by