Question: Consider a 1 D space with discrete grid points represented by indices i = 1 , 2 , 3 , dots, N . The electric

Consider a 1D space with discrete grid points represented by indices i=1,2,3,dots,N. The electric field Ez at each point is governed by the update equation:
Ezn+1(i)=Ezn(i)+tlon(Hyn(i)-Hyn(i-1)),
where n is the time index t is the time step, and lon is the permittivity of the medium. The magnetic field is updated as:
Hyn+1(i)=Hyn(i)+t(Ezn+1(i+1)-Ezn+1(i)),
where is the permeability of the medium.
Write a MATLAB script to simulate the propagation of an electromagnetic wave in a 1D space using the FDTD method. Assume a sinusoinal source function Ez0(i)=sin(cix) at the center of the domain )=(N2 at time n=0.
Parameters are as follows:
Number of grid points is 200
Spatial step is 0.1m and and time step is "obviously" related to this value.
Frequency of the source is 1Hz
Permittivty and Permeability is 8.85410-12Fm and 410-7Hm respectively.
Simulate the wave propagation for 1000 time steps and visualize the electric field Ez and Hy at different plots.
Your code must include explanation for every key steps and parameters used.
 Consider a 1D space with discrete grid points represented by indices

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!