Python for MATLAB Development: Extend MATLAB with 300,000+ Modules from the Python Package Index
- 6h 48m
- Albert Danial
- Apress
- 2022
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, artificial intelligence, 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
The demonstrated techniques and explanations will help you solve your own challenging problems in MATLAB using open source Python modules. Python is the ultimate MATLAB Toolbox and this book is your guide to its use.
You will:
- 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
- Accelerate computationally-intensive tasks with numba
- Run large computations in parallel with dask
- 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
About the Author
Albert Danial is an aerospace engineer with 30 years of experience, currently working for Northrop Grumman near Los Angeles. Before Northrop Grumman, he was a member of the NASTRAN Numerical Methods team at MSC Software and a systems analyst at SPARTA. He has a Bachelor of Aerospace Engineering degree from the Georgia Institute of Technology, and Masters and Ph.D. degrees in Aeronautics and Astronautics from Purdue University. He is the author of cloc, the open source code counter.
Al has used MATLAB since 1990 and Python since 2006 for algorithm prototyping, earth science data processing, spacecraft mission planning, optimization, visualization, and countless utilities that simplify daily engineering work.
In this Book
-
Introduction
-
Installation
-
Language Basics
-
Data Containers
-
Dates and Times
-
Call Python Functions from MATLAB
-
Input and Output
-
Interacting with the File System
-
Interacting with the Operating System and External Executables
-
Object-Oriented Programming
-
NumPy and SciPy
-
Plotting
-
Tables and Dataframes
-
High Performance Computing
-
Language Pitfalls