/matlab-to-python-cheatsheet

A MATLAB to Python cheatsheet

Primary LanguagePythonMIT LicenseMIT

MATLAB to Python cheatsheet

Getting started

What do we need?

Some Python libraries installed to start:

Important

The general structure of these notes is:

% Some MATLAB code
x = 10;
disp(x);
# followed by a equivalent/similar Python code
x = 10
print(x)

Contents


References

  1. http://mathesaurus.sourceforge.net/matlab-numpy.html
  2. https://docs.scipy.org/doc/numpy-dev/user/numpy-for-matlab-users.html
  3. http://www.mathworks.com/help/matlab/
  4. https://docs.python.org/2/reference/index.html
  5. https://docs.scipy.org/doc/numpy-dev/user/quickstart.html