I was just wondering how to solve an equation in attachment for 'n' which involves real and imaginary part.
Thanks

답변 (2개)

Roger Stafford
Roger Stafford 2013년 10월 5일

1 개 추천

n = 1/k0/d*atan2(sqrt(1-X^2),X)
and
n = 1/k0/d*atan2(-sqrt(1-X^2),X)
All other solutions differ from these by integral multiples of 2*pi/k0/d.
Walter Roberson
Walter Roberson 2013년 10월 5일

0 개 추천

Use a small bit of algebra. Take the ln of both sides and rearrange terms.
n = -i * ln(X +/- i*sqrt(1-X^2)) / (K0 * d)

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

태그

질문:

2013년 10월 5일

답변:

2013년 10월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by