Page 95 -
P. 95
axis([-2 12 0 1.2]);
M(:,m)=getframe;
end
movie(M,3)
Question: How would you modify the above program if the speed of the
light beam is not 1?
3.11 MATLAB Commands Review
fplot Plots a specified function over a specified interval.
ginput Mouse-controlling command to read off coordinates of a
point in a graph.
global Allows variables to share their values in multiple programs.
zoom Zooms in and out on a 2-D plot.
© 2001 by CRC Press LLC