Transmission Coefficient of PC in FDTD

Status
Not open for further replies.

bennywt

Newbie level 3
Joined
Jan 29, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,299
matlab code for transmission coefficient

Hello guys, I already had written the 2D FDTD TM/TE source code in Matlab. It visualized very well the how wave propagate. I need to extract out the transmission coefficient. First, I let the whole medium be vaccum. So theoriticaly, I should get 1 for the transmission but unfortunately I cant get 1. Anyone please help me out. Thanks.
 

Hey..

can you explain what kind of source implementation you have in your code...
and without knowing your code no one can help you out in this...
so, better you post your code..

cheers
 

milli said:
Hey..

can you explain what kind of source implementation you have in your code...
and without knowing your code no one can help you out in this...
so, better you post your code..

cheers

Ez(1,Npy-(NMlat-1)/2:Npy+(NMlat-1)/2)=Ez(1,Npy-(NMlat-1)/2:Npy+(NMlat-1)/2)+sin(W*m*Dt)

above is my source which i implement in my code.
 



can u sent me your Matlab Programme for the visualization of wave propagation. i shall be highly obliged 2 u..............
 

Eventually, I have give up this code. I have used the meep from MIT to run my simulation. Easier and faster. Thanks.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…