polar plot of n^2 = 1+g equation

1 view (last 30 days)
Ismita
Ismita on 19 Nov 2022
Edited: VBBV on 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 Comments
Mathieu NOE
Mathieu NOE on 21 Nov 2022
what are n , p and g ?
Ismita
Ismita on 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

Sign in to comment.

Answers (1)

VBBV
VBBV on 22 Nov 2022
Edited: VBBV on 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)

Categories

Find more on Polar Plots in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!