Homework is assigned weekly, and due by Friday 5pm in the inbox across the hall from Packard 243. Late homework will not be accepted.

The homework problems can be found here. We will update this document often during the quarter, so be sure to download the newest version before starting your homework.

Some homework problems will require you to code in Julia (more information here). You must submit your code for any problems that require coding. The Julia files needed for homework problems can be found here.

Access to solutions requires SUNetID (Stanford University Network ID). You can find your homework grades on canvas (which otherwise, we do not use).

You may not use concepts or material from other classes (say, a linear algebra class you may have taken) in your solutions. All the problems can be done using only the material from this class, and we will deduct points from homeworks that refer to outside material.

You are welcome to collaborate on the homework, but you must write up your own final version to hand in, and you must write up your own code.

  • Homework 1, due Friday 10/7/16:
    1.1, 1.2, 1.3, 1.4, 1.6, 1.7, 2.1, 2.2, 3.2, 3.4, 3.5, 3.6, and 3.24.
    Solutions.

  • Homework 2, due Friday 10/14/16:
    2.3, 3.7, 3.14, 3.27, 4.2, 5.2, 5.5, 5.7, 6.1, and 6.5.
    For 4.2, see our tutorial on Julia's PyPlot library for creating figures here; download kmeans.jl here.
    Solutions.

  • Homework 3, due Friday 10/21/16:
    6.6, 6.7, 6.11, 7.7, 9.1, 10.2, 10.5, 10.12, and 10.13.
    Solutions.

  • Homework 4, due Friday 11/4/16:
    11.3, 11.4, 11.7, 11.8, 11.10, 11.12, 11.15, and 12.2.
    Solutions.

  • Homework 5, due Monday 11/14/16:
    7.3, 12.5, 12.6, 13.1, 13.2, 13.3, 13.5, 13.7, and 13.9.
    Solutions.

  • Homework 6, due Friday 11/18/16:
    13.4, 13.8, 14.1, 15.3, 15.4, and 15.6.
    Solutions.

  • Homework 7, due Wednesday 11/30/16:
    3.9, 10.17, 10.25, 14.3, 16.1, and 16.2.
    Solutions.

  • Homework 8 (the last one) due Wednesday 12/7/16.
    12.8, 17.1, 17.2, 18.2.