Borrar filtros
Borrar filtros

Polar Plots combine codes

1 visualización (últimos 30 días)
Aswas
Aswas el 2 de Oct. de 2018
Editada: Aswas el 5 de Oct. de 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);
  1 comentario
KALYAN ACHARJYA
KALYAN ACHARJYA el 3 de Oct. de 2018
Incomplete code? beta,dist?

Iniciar sesión para comentar.

Respuesta aceptada

KSSV
KSSV el 3 de Oct. de 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);

Más respuestas (0)

Categorías

Más información sobre Polar Plots en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by