Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Functions of Space and Time. Consider the expression below for the electric field of a 1 0 0 MHz wave. a ) Use MATLAB to

Functions of Space and Time. Consider the expression below for the electric field of a 100 MHz wave.
a) Use MATLAB to make snapshot plots of E(z, t) at three different times: t =0, t =2.5 nsec, t =5 nsec for z
from 0 to 20 meters. Make all three plots on separate axes part of one figure. Make your y axis limits
[-6,6] and show grid lines. The title of each subplot should display the time. Hint: you will need the
following MATLAB commands: subplot, plot, grid on, title
b) Now we want to make an on screen animation of E(z, t) from t =0 to t =100 nsec in 0.25 nsec increments.
To do this you need to write a for loop and continuously plot E(z, t) for z from 1 to 20 meters and
different values of t. To make each frame visible put pause(.2) in your for loop just after the plot
command, this will pause the code execution for 0.2 seconds. Try to make each title update automatically
)cos(),(0 ztEtzE x
b
w -= a
()
6
(,)5cos
210010 ; 2.0944
E z t t z
w b
w p
b
=-
==

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions