Hi hamidreza
thx for your answer
but I didnt understand it, I want to see PEC layer and dielectric layer
for example i want to see my cell :
ie=41; %number of grid cells in x-direction
je=41; %number of grid cells in y-direction
ke=6; %number of grid cells in z-direction
nx=ie+1;
ny=je+1;
nz=ke+1;
is=20; %location of source
js=20; %location of source
ks=ke; %location of source
How can i see these?
thank you
dx=0.0013; %cells dimention(mm)
dy=dx; %cells dimention(mm)
dz=0.00013; %cells dimention(mm)
dt = dz/(sqrt(3)*c); %time step
nmax=1000; %total number of time steps
%***********************************************************************
% Field arrays
%***********************************************************************
ex=zeros(ie,ny,nz);
ey=zeros(nx,je,nz);
ez=zeros(nx,ny,ke);
hx=zeros(nx,je,ke);
hy=zeros(ie,ny,ke);
hz=zeros(ie,je,nz);