Azzera filtri
Azzera filtri

Polar Plots combine codes

1 visualizzazione (ultimi 30 giorni)
Aswas
Aswas il 2 Ott 2018
Modificato: Aswas il 5 Ott 2018
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);

Risposta accettata

KSSV
KSSV il 3 Ott 2018
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);

Più risposte (0)

Categorie

Scopri di più su Polar Plots in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by