r/Python • • Aug 05 '19

Python's response to MATLAB

Post image
4.3k Upvotes

372 comments sorted by

View all comments

3

u/porksmash Aug 06 '19

MATLAB's audience, despite what Mathworks might want, is not 100% overlapped with the Python audience. There are a ton of MATLAB features and toolboxes that have no equivalent in Python, especially in the simulation arena. Python is free - but MATLAB comes with on-demand support. Python has a ton of open source modules - but there are specialized Matlab niches that have no Python packages worth using.

Mathworks is trying to push MATLAB as a 'final product' programming language, but historically it has worked best in R&D. This is exactly how I've used it professionally, while final products are coded in C/C++ and run on embedded systems.

3

u/tjl73 SymPy Aug 06 '19

Because of the diversity of Matlab packages, it works really well as an R&D tool. You're doing some work and think, "Oh, I need something that does this" and you will likely find a package that does it or is close enough that you can use parts of it.

Python has a lot of open source code available, but unfortunately, most of it isn't really covering the same set as the Matlab ones. There's obviously some of the major things covered, but there's others that are important that are missing. I remember looking for an equivalent for the Control Systems Toolbox, but all the options were missing the parts on determining components of a model from data (e.g., natural frequency).

1

u/TheBlackCat13 Aug 06 '19

It would make a lot of sense for mathworks to really push these areas. Instead they are trying really hard to make MATLAB a general purpose programming language when it just isn't very good at it.