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

Chapter 1: Introduction 

Chapter 2: Installation 

Chapter 3: Language Basics 

Chapter 4: Data Containers 

Chapter 5: Dates and Times 

Chapter 6: Call Python Functions from MATLAB

Chapter 7: Input and Output 

Chapter 8: Interacting with the File System 

Chapter 9: Interacting with the Operating System and External Executables 

Chapter 10: Object-Oriented Programming Chapter 11: NumPy and Sci Py 

Chapter 12: Plotting 

Chapter 13: Tables and Dataframes 

Chapter 14: High Performance Computing Chapter 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


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.

ISBN

9781484272220

برند

Apress

تعداد صفحات

710

سال

2022

course image

ایزی اگزم

90%رضایت مشتریان عملکرد عالی

نام مولف:

John Priece

نام ناشر:

Apress

موجود نیست

متأسفانه این محصول در حال حاضر موجود نمی باشد