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

Antworten (2)

Roger Stafford
Roger Stafford am 5 Okt. 2013

1 Stimme

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 am 5 Okt. 2013

0 Stimmen

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)

Kategorien

Mehr zu Programming finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 5 Okt. 2013

Beantwortet:

am 5 Okt. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by