MATLAB and Octave
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.