CS 112

Syllabus
& Handouts

*** Dates and lectures are subject to change, check back often! ***

Readings are given for the Fourth Edition of MATLAB: An Introduction With Applications by Amos Gilat. Corresponding pages for the Third Edition are noted in parentheses.

Week 1: January 23 – 27

Monday, 1/23

  Welcome
  to CS112!

Lab 1: Wednesday, 1/25
  • course overview
  • student projects
  • introduction to MATLAB
  • accessing course software
  • Reading: pg. 5-15, 20-23

Lecture 1: Thursday, 1/26
  • course administration
  • variables and assignment
  • numbers and text
  • Reading: pg. 16-19, 24-27, 95-102 (85-92)
  • Slides

Week 2: January 30 – February 3

Lecture 2: Monday, 1/30
  • collections of numbers
  • vectors
  • plotting 2-D graphs
  • Reading: pg. 35-38, 46, 133-138, 141-148 (33-36, 44, 119-124, 127-134)
  • Slides

Lab 2: Wednesday, 2/1

Lecture 3: Thursday, 2/2
  • conditional expressions
  • if statement
  • Reading: pg. 174-186 (192-205)
  • Slides

Week 3: February 6 – 10

Lecture 4: Monday, 2/6
  • indexing
  • logical vectors for selection
  • Reading: pg. 42-43 (40-41)
  • Slides

Lab 3: Wednesday, 2/8
  • precedence
  • conditional expressions
  • indexing
  • MAT files
  • subplots
  • Reading: pg. 111-113, 157-158, 178-179 (101-103, 143-144, 196-197)
  • Assignment 2 out

Lecture 5: Thursday, 2/9
  • matrices
  • tables of data
  • images
  • Reading: pg. 39-53, 63-68, 72-78 (36-50, 57-62, 66-72)
  • Assignment 1 due
  • Slides

Week 4: February 13 – 17

Lecture 6: Monday, 2/13
  • more on matrices
  • tables of data
  • creating images
  • Slides

Lab 4: Wednesday, 2/15
  • matrices
  • tables of data
  • creating images
  • Assignment 3 out
Lecture 7: Thursday, 2/16
  • user-defined functions
  • Reading: pg. 219-229 (155-165)
  • Assignment 2 due
  • Exam 1 information
  • Practice Exam 1
  • Slides

Week 5: February 20 – 24

Monday, 2/20
 
      

 
Lab 5: Wednesday, 2/22
  • review for Exam 1
  • Assignment 3 due at 5:00pm

Lecture 8: Thursday, 2/23
(Monday schedule)
  • EXAM #1 -- in class

Week 6: February 27 – March 2

Lecture 9: Monday, 2/27

Lab 6: Wednesday, 2/29
  • curve fitting tool
  • functions
  • loops
  • Assignment 4 out

Lecture 10: Thursday, 3/1
  • optional inputs
  • nested for loops
  • Reading: pg. 198-200 (216-218)
  • Slides

Week 7: March 5 – 9

Lecture 11: Monday, 3/5
  • while loops
  • structures
  • program design
  • Reading: pg. 195-197 (213-216)
  • Slides

Lab 7: Wednesday, 3/7
  • loops, file listings, working with images
  • Assignment 5 out

Lecture 12: Thursday, 3/8
  • properties
  • subfunctions
  • creating GUIs
  • Reading: pg. 240-243 (176-179)
  • Final Project out
  • Assignment 4 due
  • Slides

Week 8: March 12 – 16

Lecture 13: Monday, 3/12

Lab 8: Wednesday, 3/14
  • GUIs: sketchpad
  • Assignment 6 out

Lecture 14: Thursday, 3/15
  • review of functions and loops
  • Exercises
  • Assignment 5 due

March 19 – 23: Spring Break

Week 9: March 26 – 30

Lecture 15: Monday, 3/26
  • string processing
  • cell arrays
  • Exam 2 information
  • Practice Exam 2
  • Slides

Lab 9: Wednesday, 3/28
  • GUIs
  • Assignment 6 work

Lecture 16: Thursday, 3/29
  • cell arrays
  • reading/writing files
  • Reading: pg. 103-110 (93-100)
  • Assignment 6 due
    on Friday, March 30
  • Slides

Week 10: April 2 – 6

Lecture 17: Monday, 4/2
  • reading/writing files
  • Final Project Phase One due
  • Slides

Lab 10: Wednesday, 4/4
  • review for Exam 2

Lecture 18: Thursday, 4/5
  • EXAM #2 -- in class

Week 11: April 9 – 13

Lecture 19: Monday, 4/9

  • 3-D visualization
  • colormaps
  • Reading: pg. 323-336 (267-279)
  • Slides

Lab 11: Wednesday, 4/11
  • reading/writing files
  • Assignment 7 out

Lecture 20: Thursday, 4/12

Week 12: April 16 – 20

Monday, 4/16
Patriot's Day

  

Lab 12: Wednesday, 4/18
  • 3-D visualization
  • color images and colormaps
  • Assignment 8 out

Lecture 21: Thursday, 4/19
  • selecting/sorting data
  • Slides

Lecture 22: Friday, 4/20
(Monday schedule)

  • selecting/sorting data
  • error handling
  • Assignment 7 due
  • Slides

Week 13: April 23 – 27

Lecture 23: Monday, 4/23
  • 2-D visualization
  • MATLAB statistics toolbox
  • Reading: pg. 149-156 (135-143)
  • Plots page

Wednesday, 4/25
R
Ruhlman Conference

Lecture 24: Thursday, 4/26
  • review workshop
  • Exercises
  • Final Project
    Phase Two due
    Friday at 5pm

Week 14: April 30 – May 4

Lecture 25: Monday, 4/30
  • project presentations

Lab 13: Wednesday, 5/2
  • project presentations

Lecture 26: Thursday, 5/3
  • project presentations
  • CS112 retrospective
  • beyond CS112
  • Assignment 8 due
  • Slides

Reading Period: May 5 – 8

Final Exams: May 9 – 15

Tuesday, 5/15

Final Projects Due