This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CISC106 Fall 2009 Lab01 • Review the code examples from your notes in class. • Some programs below are associated with a question. Answer the questions using comments below your code in the m-file. • You may work with one or two other people on your lab (max size is three!). These people must be in your same lab section. If you do, you must each submit separately to Sakai, but only submit one paper copy to your TA. All of your names should appear on code that you develop together 1 . • All students must be able to use the SunRays. If you can figure out how to work from home, that’s fine, but your code must run on Strauss when you make your diary files. • The office hours of the TAs and the instructor are on the class website. Visit us! Problems 1. Open Matlab on Strauss at your SunRay terminal. Write the file circleArea.m as we did in class. Don’t forget the contract, description, and examples - we grade them. If you can’t get it right from your notes, look at the example online, but do this as a last resort - you’ll learn less by looking at my version. Make a diary file (lab01.1.txt) showing your example tests run in the interpreter. 2. For this problem, you will create directories in your Unix account and move files around, and then show that you did so and draw a picture of what you did. (a) Make two new directories (some systems call them “folders”) in your home directory on Strauss: lab00 and lab01. To do this, open an xterm on Strauss from the menu, then use the mkdir command as shown in your Unix text. Are there other ways to create directories?...
View Full Document
- Fall '08
- Shell, TA, French Directory