EE263: Introduction to Linear Dynamical Systems

Nick Landolfi, Stanford University, Summer Quarter 2022


Homework must be submitted by 11:59PM on Fridays. Submit hw on Gradescope.

You have 4 late days, to use any way you wish. Family or medical emergencies do not use late days; just contact the instructor. Note that late days are discrete. If you are 12 hours late on HW2 and another 12 hours late on HW3, that is 2 late days, not 1.

Here is a file containing many past homework questions. Note that many of them require Matlab, and use old data files which are not available. However we are posting them here to give you a flavor of the material covered, and the types of homework and exam questions to expect.

You may discuss the homework as a group, but should write your own code and write up your solutions individually.

The homework will use the Julia language. This is required for this class. Other languages (Python, Matlab, R, Excel, etc) will not be supported or graded.

Data files are supplied in JSON format. See below for instructions on how to load these files into Julia.


Loading JSON data files

Load JSON data files in Julia using the method in readclassjson.jl. Download that file and save it somewhere useful, then use readclassjson(filename) to load the data into a dictionary containing all of the variables defined in the file.

For example, if the example_file.json contains a variable called X, you can read it by using

 data = readclassjson("example_file.json")
 X = data["X"]

If you have questions about this, ask on Ed.