This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Assigned: September 3 Fall 2010 Due: September 10 E7 Laboratory Assignment 1 The purpose of this lab is to introduce you to some basic MATLAB commands and show you how to use it as a standard calculator. Note: You will use MATLABs publish command (accessible in the Editor window via File -> Publish to HTML ) to generate a printable document that contains your code and your answers. The ex- ample .m file that was demonstrated during the discussion has been uploaded to Bspace resources for your reference. You must turn in the printed copy to the homework boxes corresponding to your lab section in room 1109 Etcheverry by 12:00 pm (noon) on September 10. Your m-file used to generate the HTML document must be uploaded to bSpace, also by noon. Name this file lastname firstname lab01.m . 1. Define the variables x = 2 , and y = 4 . Provide MATLAB commands that will compute the following expressions. Hint: read the help for the commands log10 , log , abs , exp , sin and atan . You will need to use other commands as well, but you will need to figure out which ones....
View Full Document
This note was uploaded on 01/28/2011 for the course E 7 taught by Professor Patzek during the Fall '08 term at University of California, Berkeley.
- Fall '08