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);

 채택된 답변

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 Exchange에서 Polar 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