HelloHello.
Eric Hallman
ehallman at math dot berkeley dot edu
Office: Evans 1047
Office Hours: Wed 2-3

This is the page for Math 98, a six-week introduction to MATLAB intended as a supplement to Math 128A. Students are expected to have little or no prior experience with programming. Home

Announcements:


Class Time and Location:
Group 009 (Class 23115): Thursday 3:30-5, B3A Evans
Group 010 (Class 23116): Thursday 5-6:30, B3A Evans

Schedule:
This course will use the following books as its primary texts:
  • K Sayood (KS), Learning Programming Using MATLAB.
  • Otto and Denier (OD), An Introduction to Programming and Numerical Methods in MATLAB.
    For further reference, try Essential MATLAB for Engineers and Scientists by Brian H Hahn and Daniel T Valentine, available for free to UC Berkeley students here.

    Week Topic Reading Notes Code
    Week 1: 24 Jan I/O, logicals, if/else statements KS 3, 4.1-4.5 Lecture 1 folder
    Week 2: 31 Jan Loops, vectors, functions KS 5, 7
    OD 1.4, 1.7, 2.1
    Lecture 2 folder
    Week 3: 7 Feb Functions OD 2.2
    Mathworks I, II
    Lecture 3 folder
    Week 4: 14 Feb Graphing Documentation Lecture 4 folder
    Week 5: 21 Feb Recursion, Matrices OD 6 Lecture 5 folder
    Week 6: 28 Feb Data, Debugging Cells, Tables Lecture 6 folder


    Passing the Course:
    This is a 1-unit P/NP class. There are 6 homework assignments worth 2 points each, one due each week. A final project, worth 6 points, will be due later in the semester. A final score of 12/18 is needed to pass.

    Assignments:
    Each assignment will be due by 11:59pm on the given date. Submissions should be uploaded to bCourses.
    Due Date Assignment Solutions
    31 Jan HW1 hw1.m
    7 Feb HW2 hw2.m
    14 Feb HW3 functionSplicer.m, functionSplicer2.m, hw3driver.m
    21 Feb HW4 HW4
    28 Feb HW5 HW5
    7 Mar HW6
    22 Mar Final Project


    Installing MATLAB:
    You can download MATLAB here and obtain a student license here.

  • [Last modified: 2 March 2019]