Unformatted text preview: moving on to problem number 5. 5. Complete the following Matlab exercise: a. Create a variable “ t” that goes from -3 to +3 in .01 increments. This variable should have 601 points. Verify that t(301)= 0. This will be the x-axis in a future plot. b. Create another variable “y” where: y = 2sin(3t) c. Plot y(t) using the following command: >> plot(t,y) d. Add your name to the plot by using the following command at the command prompt: >> xlabel('Your Name') e. Print the plot f. Create another variable “m” where: m(t) = exp(-t) g. Create another variable “z” where: z(t) = y(t)m(t) h. Plot z(t) and print the result with your name added to the plot. Turn in the following for full credit: 3 plots, one each of y(t), m(t), and z(t) I will not give credit to any assignments that do not have your name included on the plot....
View Full Document
- Fall '08
- Electrical Engineering, Remote Desktop Protocol, Remote Desktop, Remote Desktop Connection, following Matlab exercise