polar plot of n^2 = 1+g equation

1 visualizzazione (ultimi 30 giorni)
Ismita
Ismita il 19 Nov 2022
Modificato: VBBV il 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 Commenti
Mathieu NOE
Mathieu NOE il 21 Nov 2022
what are n , p and g ?
Ismita
Ismita il 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

Accedi per commentare.

Risposte (1)

VBBV
VBBV il 22 Nov 2022
Modificato: VBBV il 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)

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