フィルターのクリア

How to polarplot theta=3*pi/4 ?

1 回表示 (過去 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 Center および File ExchangePolar Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by