polar plot of n^2 = 1+g equation

1 visualización (últimos 30 días)
Ismita
Ismita el 19 de Nov. de 2022
Editada: VBBV el 22 de Nov. de 2022
polar plot of n^2 = 1+g (g=a/b~10^4) and/ or p^2 = (1-g)/( (1+g)*cos^2(theta)) equations and how can I get a circle from this equation? Thanks
  2 comentarios
Mathieu NOE
Mathieu NOE el 21 de Nov. de 2022
what are n , p and g ?
Ismita
Ismita el 21 de Nov. de 2022
n and p are the unknown unknown variables. Others are known, theta is variable. So to plot n (independent of theta) and p with theta. Thank you

Iniciar sesión para comentar.

Respuestas (1)

VBBV
VBBV el 22 de Nov. de 2022
Editada: VBBV el 22 de Nov. de 2022
About the 2nd equation, you can plot it straightforward by plugging values for variables g and theta
theta = 0:pi/100:2*pi; %
g = -0.5;
p = sqrt(((1-g)/(1+g))*(cos(theta)).^2);
polar(theta,p)
  1 comentario
VBBV
VBBV el 22 de Nov. de 2022
The first equation is not clear to me

Iniciar sesión para comentar.

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