Details
Python for MATLAB Development
Extend MATLAB with 300,000+ Modules from the Python Package Index
66,99 € |
|
Verlag: | Apress |
Format: | |
Veröffentl.: | 11.03.2022 |
ISBN/EAN: | 9781484272237 |
Sprache: | englisch |
Anzahl Seiten: | 700 |
Dieses eBook enthält ein Wasserzeichen.
Beschreibungen
<p>MATLAB can run Python code!</p><p>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:<br></p><ul><li><p>A thorough Python tutorial that leverages your existing MATLAB knowledge with a comprehensive collection of MATLAB/Python equivalent expressions</p></li><li><p>A reference guide to setting up and managing a Python environment that integrates cleanly with MATLAB</p></li><li><p>A collection of recipes that demonstrate Python solutions invoked directly from MATLAB </p></li></ul><p>This book shows how to call Python functions to enhance MATLAB's capabilities. Specifically, you'll see how Python helps MATLAB:</p><p></p><ul><li>Run faster with numba<br></li><li>Distribute work to a compute cluster with dask<br></li><li>Find symbolic solutions to integrals, derivatives, and series summations with SymPy<br></li><li>Overlay data on maps with Cartopy<br></li><li>Solve mixed-integer linear programming problems with PuLP<br></li><li>Interact with Redis via pyredis, PostgreSQL via psycopg2, and MongoDB via pymongo<br></li><li>Read and write file formats that are not natively understood by MATLAB, such as SQLite, YAML, and ini<br></li></ul><p></p><b>Who This Book Is For</b><p></p><p></p><p>MATLAB developers who are new to Python and other developers with some prior experience with MATLAB, R, IDL, or Mathematica.</p>
<div>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.</div>
<div><b>Albert Danial</b> 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.</div><div><br>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.</div>
<p>MATLAB can run Python code!</p><p>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:<br></p><ul><li><p>A thorough Python tutorial that leverages your existing MATLAB knowledge with a comprehensive collection of MATLAB/Python equivalent expressions</p></li><li><p>A reference guide to setting up and managing a Python environment that integrates cleanly with MATLAB</p></li><li><p>A collection of recipes that demonstrate Python solutions invoked directly from MATLAB </p></li></ul><p>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. <br></p><p>You will:<br></p><ul><li>Find symbolic solutions to integrals, derivatives, and series summations with SymPy<p></p></li><li><p>Overlay data on maps with Cartopy</p></li><li><p>Solve mixed-integer linear programming problems with PuLP</p></li><li>Accelerate computationally-intensive tasks with numba<p></p></li><li><p>Run large computations in parallel with dask</p></li><li><p>Interact with Redis via pyredis, PostgreSQL via psycopg2, and MongoDB via pymongo</p></li><li>Read and write file formats that are not natively understood by MATLAB, such as SQLite, YAML, and ini<p></p></li></ul>
Teaches how to expand MATLAB's power using Python Learn Python rapidly with side-by-side MATLAB code examples Only guide that provides practical examples of calling Python code from MATLAB