This page is located in archive.

Python Help for Typical Situations in Homeworks


The following packages should be used. In the code examples, we assume that they are imported with the aliases as bellow.

import numpy as np                # for matrix computation and linear algebra
import matplotlib.pyplot as plt   # for drawing and image I/O
import scipy.io as sio            # for matlab file format output


When there is a matrix required as and output data, we mean matrix implemented as np.array.

courses/gvg/labs/hw-help-python.txt · Last modified: 2020/02/28 13:23 by xmatousm