polar plot of n^2 = 1+g equation

3 vues (au cours des 30 derniers jours)
Ismita
Ismita le 19 Nov 2022
Modifié(e) : VBBV le 22 Nov 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 commentaires
Mathieu NOE
Mathieu NOE le 21 Nov 2022
what are n , p and g ?
Ismita
Ismita le 21 Nov 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

Connectez-vous pour commenter.

Réponses (1)

VBBV
VBBV le 22 Nov 2022
Modifié(e) : VBBV le 22 Nov 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 commentaire
VBBV
VBBV le 22 Nov 2022
The first equation is not clear to me

Connectez-vous pour commenter.

Catégories

En savoir plus sur Polar Plots dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by