# Lecture13 - Lecture 13 MATLAB for Data Analysis/Loops...

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

Engineering 101 Engineering 101 Lecture 13 Lecture 13 MATLAB for Data Analysis/Loops MATLAB for Data Analysis/Loops Prof. Michael Falk University of Michigan, College of Engineering

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

View Full Document
Announcements Announcements Project 3 program due 10/11, report due 10/12 or 10/13 depending on your section. Exams will be returned next week in section. If you believe anything was graded incorrectly, attach an explanation and turn your exam back to your GSI within one week. After exams are graded, online grades will be updated for your review. I will be generating a projected grade for you based on your performance in the first weeks of the class so you can monitor your performance.
Announcements Announcements Reading We are currently in IEP Chapter 3 We will start IEP Chapter 4 next week MATLAB material presented today is for Project 3 and will be mostly self-contained. See online help for further details. New Seating Assignments Will be posted this weekend. Be prepared to find your new seat on Monday. New seat. New group. Same clicker.

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

View Full Document
Project 3: Modeling HIV Response to Project 3: Modeling HIV Response to Immune Therapy Immune Therapy T ,t+1 = T ,t - 0.001 T ,t V ,t I ,t+1 = I ,t + 0.001 T ,t V ,t – 0.005 I ,t V ,t+1 = V ,t + 10.0 (1-Q) I ,t – 0.05 V ,t T ,t
Project 3: Modeling HIV Response to Project 3: Modeling HIV Response to Immune Therapy Immune Therapy You will produce a C++ code that simulates the progress of the disease 5.5 years from HIV infection or until the onset of AIDS. (Due 10/11) You will then test several scenarios and produce graphs from your data using MATLAB. Your final report is due in your section. (Due 10/12, 10/13)

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

View Full Document
C++ vs. MATLAB C++ vs. MATLAB Compiled Fast Predefined Libraries Graphics Difficult Interpreted Slow Even More Libraries Easy Graphics Functionality
Running MATLAB Running MATLAB Can use MATLAB in either the Windows, Macintosh or Linux environment Upon launching MATLAB you have several windows at your disposal: Command Window Launch Pad/ Workspace Browser Command History Window

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

View Full Document
The Command Window The Command Window You can type MATLAB commands directly into the Command Window vol = (4 / 3) * pi * (1.5)^3 MATLAB will immediately execute and return a result. Note: pi and ^ (exponentiation) are both defined in MATLAB, unlike C++ If you run out of room on a line you can type in order to continue on the next line
Other Windows Other Windows The Command History Window lists all the recently executed commands. Double-click on a command to re-execute. The Launch Pad collects links to documentation and demos. The Workspace Browser shows a list of variables and arrays that have been generated. The Help Browser allows you to peruse online documentation

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

View Full Document
Additional Windows Additional Windows The Edit/Debug Window is used to make programs stored in M-files, we will use this later.
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/02/2008 for the course ENGR 101 taught by Professor Ringenberg during the Fall '07 term at University of Michigan.

### Page1 / 57

Lecture13 - Lecture 13 MATLAB for Data Analysis/Loops...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online