Python for MATLAB development : extend MATLAB with 300 000+ modules from the Python package index 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. 1 Introduction 2 Installation 3 Language Basics 4 Data Containers 5 Dates and Times 6 Call Python Functions from MATLAB 7 Input and Output 8 Interacting with the File System 9 Interacting with the Operating System and External Executables 10 Object Oriented Programming 11 NumPy and SciPy 12 Plotting 13 Tables and Dataframes 14 High Performance Computing 15 Language Pitfalls Appendix A MATLAB Python Recipe Index Appendix B Generating Sample Data with Faker Appendix C Finite Element Source Listing Appendix D Python to MATLAB and MATLAB to Python Variable Converters Appendix E A Utility to Patch Cartopy to Use Requests.