Introduction to Matlab
(Summer 2010)
Course Description
This course introduces students to the Matlab software and its application to engineering problems. This course is for beginners and gives a broad overview of the use and capabilities of Matlab. Topics include computation, matrix operation, plotting, file IO, solving simultaneous equations, structured programming, statistics, calculus and Simulink.
Textbook
"Introduction to Matlab 7 for Engineers" (Required)
by William J. Palm III
McGraw-Hill , 2nd Edition, 2005
Time and Location
The course will meet in 625 Cobleigh, Monday-Friday for three weeks starting on 6/14/10. The course will start each day at 10am and run to either 12pm or 1pm.
Week 1 (6/14-6/18) During the first week we will have a lecture from 10-11am followed by lab time from
11-1pm. The lab time will be used to complete the daily assignments. The TA and/or
instructor will be available during the lab time to help you. It is anticipated that
the problems will only take an hour to complete but we will be available during this
time. You can break anytime during lab for lunch.
Week 2 (6/21-6/25) During the second week we will meet from 10am-12pm. There will not be a formal lecture. Instead, the time will be used to solve a problem using Matlab as a class.
Week 3 (6/28-7/2) During the third week we will have a lecture from 10-11am followed by lab time from 11-1pm to work on the daily assignments. You can break anytime during lab for lunch.
Schedule and Assignments
Date | Topic | Notes | Read | Labs | |
---|---|---|---|---|---|
M | 6/14 | M1: Getting started, session commands, directories basic math operations, script files, help system |
M1 Notes Ch1 Notes |
1.1-1.8 | Ch1: 2,5, 12,13,21 |
T | 6/15 | M2: 2D arrays, multidimensional arrays, array operations |
M2 Notes Ch2 Notes |
2.1 | Ch2: 1,2,3 8,9 |
W | 6/16 | M2: Matrix Operation M3: functions, files ASCII XLS |
M3 Notes Ch3 Notes |
3.1-3.5 | 2.13, 3.9, 3.10 |
R | 6/17 | M4: Programming, cond statements (if/then case), loops (for, while) test_debugger.m |
M4 Notes Ch4 Notes |
4.1-4.6 | 4.17b, 4.20a 4.21a |
F | 6/18 | M5: Plotting, subplots, overlays, formating, 3D plots, surface, mesh, test_plot.m |
M5 Notes Ch5 Notes |
5.1-5.9 | 4.23, 4.24a 5.49 |
M | 6/21 | Group Prob # 1: Solving Lin Eqs using Cramer's Method (Determinants) |
M6 Notes Ch6 Notes |
- | - |
T | 6/22 | Group Prob # 2: Solving Lin Eqs using Cramer's Method (Substitution) |
- | - | |
W | 6/23 | Group Prob # 3: Solving Lin Eqs using Gaussian Elimination (Gauss Elimination) |
- | - | |
R | 6/24 | Group Prob # 4: Solving Lin Eqs using Gaussian Elimination (Backwards Substitution) |
- | - | |
F | 6/25 | Group Prob # 5: Solving Lin Eqs using Gaussian Elimination (Solution) |
- | - | |
M | 6/28 | M7: Statistics, histograms, bar plots, probability DAT flight_data_analysis.m |
M7 Notes Ch7 Notes |
7.1-7.2 | 7.1, 7.2 |
T | 6/29 | M8: Animation, getframe, pause, strcat file_data_ex.zip |
M8 Notes | Apd. B | sine wave animation |
W | 6/30 | M9: Simulink part 1 - Getting Started, Entering Blocks, Running Simulations, Plotting |
M9 Notes Ch9 Notes |
9.1-9.2 | 9.1, 9.3 |
R | 7/1 | M9: Simulink part 2 - Exporting to Workspace, Diff Eqs, Solving Simultaneous Eqs. |
9.3-9.7 | 9.6, 9.31 | |
F | 7/2 | M10: GUI Programming | M10 Notes | - | simple gui |