Question: 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 MHz wave.
a Use MATLAB to make snapshot plots of Ez t at three different times: t t nsec t nsec for z
from to meters. Make all three plots on separate axes part of one figure. Make your y axis limits
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 Ez t from t to t nsec in nsec increments.
To do this you need to write a for loop and continuously plot Ez t for z from to meters and
different values of t To make each frame visible put pause in your for loop just after the plot
command, this will pause the code execution for seconds. Try to make each title update automatically
cos ztEtzE x
b
w a
cos
;
E z t t z
w b
w p
b
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
