0%

MATLAB can run Python code!

Python for MATLAB Development shows you how to enhance MATLAB with Python solutions to a vast array of computational problems in science, engineering, optimization, statistics, finance, and simulation. It is three books in one:

  • A thorough Python tutorial that leverages your existing MATLAB knowledge with a comprehensive collection of MATLAB/Python equivalent expressions

  • A reference guide to setting up and managing a Python environment that integrates cleanly with MATLAB

  • A collection of recipes that demonstrate Python solutions invoked directly from MATLAB  

This book shows how to call Python functions to enhance MATLAB's capabilities. Specifically, you'll see how Python helps MATLAB:

  • Run faster with numba
  • Distribute work to a compute cluster with dask
  • Find symbolic solutions to integrals, derivatives, and series summations with SymPy
  • Overlay data on maps with Cartopy
  • Solve mixed-integer linear programming problems with PuLP
  • Interact with Redis via pyredis, PostgreSQL via psycopg2, and MongoDB via pymongo
  • Read and write file formats that are not natively understood by MATLAB, such as SQLite, YAML, and ini

Who This Book Is For

MATLAB developers who are new to Python and other developers with some prior experience with MATLAB, R, IDL, or Mathematica.

Table of Contents

  1. Cover
  2. Front Matter
  3. 1. Introduction
  4. 2. Installation
  5. 3. Language Basics
  6. 4. Data Containers
  7. 5. Dates and Times
  8. 6. Call Python Functions from MATLAB
  9. 7. Input and Output
  10. 8. Interacting with the File System
  11. 9. Interacting with the Operating System and External Executables
  12. 10. Object-Oriented Programming
  13. 11. NumPy and SciPy
  14. 12. Plotting
  15. 13. Tables and Dataframes
  16. 14. High Performance Computing
  17. 15. Language Pitfalls
  18. Back Matter
3.21.231.245