Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6:21 . 83% MATLAB assignment.docx 2-D movie of incident, reflected, and transmitted TEM fields Write a MATLAB code to play a 2-D movie of a
6:21 . 83% MATLAB assignment.docx 2-D movie of incident, reflected, and transmitted TEM fields Write a MATLAB code to play a 2-D movie of a uniform plane wave that travels through air (medium 1) in the positive z direction and is incident normally on and reflects from a lossless dielectric (medium 2) in region z20, In particular, the movie shows the direction and magnitudes of electric field vectors of the incident wave as they move toward the medium 2 plane and of the reflected wave as it travels backward to medium 1. Use the following set up for the problem: Ei=cos(108-812)Qr For medium 2 (e-280,u=8uo) Hint: A recommended and a simple approach to play the requested 2-D movie is to use "getframe" MATLAB function. Familiarize yourself with this function, apply it to simple excises before starting to code our assignment. "E = getframe (fig) captures the figure identified by fig. Specify a figure if you want to capture the entire interior of the figure window, including the axes title, labels, and tick marks. The captured movie frame does not include the figure menu and tool bars" Use two for loops to make the 2-D movie. Guiding Steps for the assignment: 1. Specify all input parameters. 2. Calculate necessary propagation III 6:21 & al 83% MATLAB assignment.docx Guiding Steps for the assignment: 1. Specify all input parameters. 2. Calculate necessary propagation parameters of the waves and the two media. 3. Find the reflection and transmission coefficients, then calculate the amplitudes of reflected, and transmitted electric fields. 4. Define your boundary 5. Compute and define the spatial limit of movie frames, as the wavelengths in the two media. 6. Introduce the time parameters for which wave needs to travel distance at least a two wave length for first and the second medium. 7. The first loop plays the travel of the incident wave (in the first medium) before it reaches the boundary. 8. Similarly, the second loop plays the travel of the incident and reflected waves in the first medium and the transmitted wave in the second medium, after the incident wave has reached the boundary. Please submit in Moodle, your MATLAB ".m" file and word document including your code and snapshot of your 2-D movie showing and labeling the boundary, incident, reflected and transmitted. w 6:21 . 83% MATLAB assignment.docx 2-D movie of incident, reflected, and transmitted TEM fields Write a MATLAB code to play a 2-D movie of a uniform plane wave that travels through air (medium 1) in the positive z direction and is incident normally on and reflects from a lossless dielectric (medium 2) in region z20, In particular, the movie shows the direction and magnitudes of electric field vectors of the incident wave as they move toward the medium 2 plane and of the reflected wave as it travels backward to medium 1. Use the following set up for the problem: Ei=cos(108-812)Qr For medium 2 (e-280,u=8uo) Hint: A recommended and a simple approach to play the requested 2-D movie is to use "getframe" MATLAB function. Familiarize yourself with this function, apply it to simple excises before starting to code our assignment. "E = getframe (fig) captures the figure identified by fig. Specify a figure if you want to capture the entire interior of the figure window, including the axes title, labels, and tick marks. The captured movie frame does not include the figure menu and tool bars" Use two for loops to make the 2-D movie. Guiding Steps for the assignment: 1. Specify all input parameters. 2. Calculate necessary propagation III 6:21 & al 83% MATLAB assignment.docx Guiding Steps for the assignment: 1. Specify all input parameters. 2. Calculate necessary propagation parameters of the waves and the two media. 3. Find the reflection and transmission coefficients, then calculate the amplitudes of reflected, and transmitted electric fields. 4. Define your boundary 5. Compute and define the spatial limit of movie frames, as the wavelengths in the two media. 6. Introduce the time parameters for which wave needs to travel distance at least a two wave length for first and the second medium. 7. The first loop plays the travel of the incident wave (in the first medium) before it reaches the boundary. 8. Similarly, the second loop plays the travel of the incident and reflected waves in the first medium and the transmitted wave in the second medium, after the incident wave has reached the boundary. Please submit in Moodle, your MATLAB ".m" file and word document including your code and snapshot of your 2-D movie showing and labeling the boundary, incident, reflected and transmitted. w
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started