The matlab code for assignments in CS 274A