This page is located in archive. Go to the latest version of this course pages. Go the latest version of this page.

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 an output data, we mean matrix implemented as np.array.

courses/gvg/labs/hw-help-python.txt · Last modified: 2021/02/26 21:10 by xmatousm