I would like to combine the two into one polar plot please:
thetapolar = 0:pi/100:2*pi;
phi = pi/2;
fpolarr = cos(((beta*dist)/2)*cos(thetapolar) + phi); % 0deg
fpolarl = cos(((beta*dist)/2)*cos(thetapolar) - phi); % 90deg
figure
polar(thetapolar, fpolarr);
figure
polar(thetapolar, fpolarl);

1 件のコメント

KALYAN ACHARJYA
KALYAN ACHARJYA 2018 年 10 月 3 日
Incomplete code? beta,dist?

サインインしてコメントする。

 採用された回答

KSSV
KSSV 2018 年 10 月 3 日

0 投票

Read about hold on
f = 3*10^9;
omega = 2*pi*f;
theta = pi/4; %
lambda = (3*10^8)/f;
beta = (2*pi)/lambda;
dist = lambda/2;
phi = pi/4;
thetapolar = 0:pi/100:2*pi;
phi = pi/2;
fpolarr = cos(((beta*dist)/2)*cos(thetapolar) + phi); % 0deg
fpolarl = cos(((beta*dist)/2)*cos(thetapolar) - phi); % 90deg
figure
polar(thetapolar, fpolarr);
hold on
polar(thetapolar, fpolarl);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangePolar Plots についてさらに検索

タグ

質問済み:

2018 年 10 月 2 日

編集済み:

2018 年 10 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by