Instuctor Guide InLab01.pdf

# Instuctor Guide InLab01.pdf - In-Lab 1 MATLAB Fundamentals...

• Lab Report
• 3

This preview shows pages 1–2. Sign up to view the full content.

1 In-Lab 1: MATLAB Fundamentals Directions For this assignment, you will create an m-file as your main script. The file must have the following naming convention: “ FirstName_LastName_InLab1.m ”. Make sure to do the following for full credit: Create separate cells for each problem Comment your code thoroughly Suppress all unnecessary output Store all answers as variables To submit multiple files at once, zip them all together in MATLAB and rename using the above convention. Add the following header to every file you submit: % Name % Date % Section # % Assignment (i.e. In-Lab 1) Instructor-Guided Portion (download InLab1.m from the Moodle page) 1. The following MATLAB command lines have errors in them. In comments, write what the errors are and then correct the line until no errors occur. If there are no errors in a command, simply type “No error” in the comment. a. ayy = (15+6)*16+3(6+9) b. B = mean(1,17,43) c. 3c = 3:12:1 d. dee = atan(linspace([1,15,6])) e. for = logspace(1,15,6) 2. Create three variables x , y , and z

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.
• Spring '17

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern