polar plot of n^2 = 1+g equation

조회 수: 4 (최근 30일)
Ismita
Ismita 2022년 11월 19일
편집: VBBV 2022년 11월 22일
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
Mathieu NOE
Mathieu NOE 2022년 11월 21일
what are n , p and g ?
Ismita
Ismita 2022년 11월 21일
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

댓글을 달려면 로그인하십시오.

답변 (1개)

VBBV
VBBV 2022년 11월 22일
편집: VBBV 2022년 11월 22일
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
VBBV
VBBV 2022년 11월 22일
The first equation is not clear to me

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by