Matlab Assignment 01

Matlab Assignment 01 - moving on to problem number 5. 5....

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EE 3120 Fall 2004 Matlab Assignment #1 Due Friday August 27 1. Create an ECE Windows account with the electrical engineering department. Visit the following website for details on how to do this. http://www.ece.lsu.edu/COR/WinApp/AccountFAQ.html 2. Using a computer in the ECE lab or using a remote desktop connection, open Matlab. The login procedure is exactly the same as if you were sitting down at a PC in the lab. Direct your Remote Desktop Connection to “ ts.ece.lsu.edu”. For more information, visit the following website: http://www.ece.lsu.edu/COR/ts/ 3. Open the latest version of Matlab that you see. It should be version 6.1 or 6.5, or 7.0 4. If the Help window does not open when you initially open Matlab, select “Help” and then “Matlab Help”. Select the “Contents” tab and select “Matlab”, the third entry (under installation). Read through the “Learning Matlab” tutorial before
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

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

This note was uploaded on 02/06/2012 for the course EE 2120 taught by Professor Aravena during the Fall '08 term at LSU.

Ask a homework question - tutors are online