Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to calculate acos with a complex number?

Status
Not open for further replies.

helio1972

Member level 5
Joined
Oct 30, 2003
Messages
91
Helped
14
Reputation
28
Reaction score
8
Trophy points
1,288
Activity points
861
hi,
I am working on antennas with metamaterials using FDTD method.
So to simulate metamaterials with FDTD i need fristly to calculate the permittivity and the permeabilty using retrieval method. so I have used the smith article namely '' Electromagnetic parameters retieval from inhomogeneous metamaterials'' published in March 2005. However, I have found a problem to calculate refraction index n using the equation given below because the b is a complex number, so how i can calculate acos with a complex number?

n=(1/kd)*acos(b)
with b= (1/2*S21)*(1-S11*S11+S21*S21)
 

Re: metamaterials

tink about the COS as an exponential form:

COS (x) = [exp(jx)+exp(-jx)]/2

Then if x is complex (x=a+jb) you get:

COS(x)= [exp(ja)*exp(-b)+exp(-ja)*exp(b)]/2

clearly a parallel reasoning holds for the SIN function.

Then if you want ACOS you need to solve the equation:

ACOS(y)=x => COS(x)=y =>

[exp(ja)*exp(-b)+exp(-ja)*exp(b)]/2 = y= u+jv

where y=u+jv.

Concluding:

u= 1/2*{exp(-b)*cos(a)+exp(b)*cos(a)}
v= 1/2*{exp(-b)*sin(a)-exp(b)*sin(a)}

check the equations... :)
 

Re: metamaterials

thanks,
but i want to calculate a and b not u and V.
 

Re: metamaterials

You can use Matlab to find those values.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top