SciPy is a world famous Python open source scientific computing library built on top of NumPy. It adds functionalitties such as numerical integration, optimization, statistics, and special functions.
In this chapter, we will cover the following topics:
MATLAB and its open source alternative, Octave, are popular mathematical programs. The scipy.io
package has functions that let you load MATLAB or
Octave matrices and arrays of numbers or strings in Python programs, and vice versa. The loadmat()
function loads a .mat
file. The savemat()
function saves a dictionary of names and arrays into a .mat
file.