SUNY Geneseo Department of Computer Science


Exercises and Such

CSci 120, Spring 2014

Prof. Doug Baldwin

Last updated April 25, 2014

These are the assignments, exams, and related material for CSci 120 (Procedural Programming: Matlab). Most items are HTML documents that can be read on-line; a few may be in other formats; these you can download from here, to read separately.

Available Exercises

  1. Lesson 0—Installing Matlab
  2. Lesson 1—The Interactive Matlab Environment
  3. Lesson 2—Expressions
  4. Lesson 3—Vectors
  5. Lesson 4—Scripts and Functions
  6. Lesson 5—Plotting
  7. Lesson 6—Matrices
  8. Project 1—Three-Dimensional Plotting
  9. Lesson 7—“For” Loops and Riemann Sums
  10. Lesson 8—“While” Loops
  11. Project 2—Animation
  12. Lesson 9—The “If” Statement
  13. Lesson 10—Matlab’s Debugger
  14. Lesson 11—Cell Arrays, Files, and the Mathematics of Databases
  15. Project 3—Mad Libs
  16. Lesson 12—Cell Arrays, Files, and the Mathematics of Databases, Continued