MATLAB Skills for Physics
Physics 290, Spring 2011
Regener Hall, Rm 118
Instructor: STP Boyd, stpboyd@unm.edu, Office Hours: after class in Regener Hall 118 and by appointment
TA: Kyle Martin, kmartin1@unm.edu, Office Hours: Thursdays 10am12 noon, Physics Department Lobby
Week  Monday  Wednesday  Friday 

1  Holiday  1/19: Class 01

1/21: Class 02 inclass lab: making and plotting vectors
Lab 1 Problems / Lab 1 Solutions 
2  1/24: Class 03 
1/26: Class 04

1/28: Class 05 Lab/HW: Electrostatic Potential last day to add courses or change sections 
3  1/31: Class 06 Number Formatting, sprintf and fprintf, Debugging Functions, Basic Subscripting 
2/2: Snow Day

2/4: Snow Day
Last day to drop a course without a grade 
4  2/7: Class 07 Subscripting, Indexing, Logical Indexing, Part I 
2/9: Class 08 Subscripting, Indexing, Logical Indexing, Part II Movie 
2/11: Class 09 Lab 3: Image and Function Manipulation Using Subscripting and Indexing Last day to change grading options 
5  2/14: Class 10 MuPad Basics 1

2/16: Class 11 MuPad Basics 2:

2/18: Class 12 Lab 4: plots and animation in MuPad 
6  2/21: Class 13 MuPad Basics 3: making assumptions 
2/23: Class 14
No Movie due to laptop meltdown 
2/25: Class 15
MuPad Exercise No Movie due to annoying technical problems 
7  2/28: Class 16

3/2: Class 17

3/5: Class 18

8  3/7: Class 19
Function List (Study Guide for Midterm) 
3/9: Class 20
homework04_matlab.zip (due before class on 3/21) 
3/11: Class 21 Lab 5: 2Body Gravitation lab5 problems (due before class on 3/25) 
9  3/14 Spring Break  3/16 Spring Break  3/18 Spring Break 
10  3/21: Class 22: MATLAB Nuts and Bolts

3/23: Class 23: More Nuts and Bolts, Interpolation

3/25: Class 24 
11  3/28: Class 25: filtering uniformlyspaced timeseries data

3/30: Class 26: more on filtering

4/1: Class 27: Polynomial Fitting Lab 
12  4/4: Class 28: Frequency Analysis of Filter Windows

4/6: Class 29: Frequency Analysis of Filter Windows, Part II

4/8: Class 30: Lab on Linearity and Aliasing

13  4/11: Class 31: Lab 8: Fourier Synthesis Lab 8 Solutions (published file, no animations) lab08_solutions.m (download and run to see animations) 
4/13: Class 32: Fourier Analysis Ideas homework05 problems, due 4/20

4/15: Class 33: DFT of Real Functions
dft_simple.m (cosine and sine version) Last day to withdraw without approval of college dean 
14  4/18: Class 34: Applying the DFT
class today starts from the final version of the files we developed in Class 33 dft_simple (amplitude and phase version)

4/20: No Class  4/22: Class 35: How to Use MATLAB to Fit Any Curve to Any Data Using Any Fit Criteria
generalized_fitting.m 
15  4/25: No Class  4/27: Class 36: Data Analysis using Optimization, Polynomial Fitting, and Plot Annotations

4/29: Class 37: Lab 9 
16  5/2: Class 38: Numerical Integration in MuPad and MATLAB

5/4: Class 39: Review class39.m (includes aliasing animation) 
5/6 Last day to withdraw from a course with approval of college dean 
17  5/9 Finals Week  5/11 Finals Week  5/13 Final Exam 7:309:30 am MATLAB Solutions for Final Exam 