Filter löschen
Filter löschen

polar plot of n^2 = 1+g equation

3 Ansichten (letzte 30 Tage)
Ismita
Ismita am 19 Nov. 2022
Bearbeitet: VBBV am 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 Kommentare
Mathieu NOE
Mathieu NOE am 21 Nov. 2022
what are n , p and g ?
Ismita
Ismita am 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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

VBBV
VBBV am 22 Nov. 2022
Bearbeitet: VBBV am 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 Kommentar
VBBV
VBBV am 22 Nov. 2022
The first equation is not clear to me

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by