source of the python benchmarks
Show older comments
Here in this page MATLAB team has mentioned that they have a dozen of benchmarks shwoing MATLAB is faster than Python:

However I can't find the source code to these benchmarks. I would appreciate if you could provide me with those. I very much like to study them. Thanks in advance.
6 Comments
per isakson
on 9 Dec 2018
Edited: per isakson
on 9 Dec 2018
An alternate report: Basic Comparison of Python, Julia, Matlab, IDL and Java (2018 Edition)
Foad Sojoodi Farimani
on 9 Dec 2018
per isakson
on 9 Dec 2018
Edited: per isakson
on 9 Dec 2018
Now the link works.
This is a "promotion text" by the Mathworks marketing department.
Foad Sojoodi Farimani
on 10 Dec 2018
Image Analyst
on 6 Sep 2023
@per isakson the nasa.gov link is broken (again).
the cyclist
on 6 Sep 2023
Answers (1)
Al Danial
on 10 Sep 2023
0 votes
Broadly speaking I'd agree that MATLAB is often faster than Python. However, with a bit of optimization work you can just as often make Python run faster than MATLAB for computationally intensive work. The combination of Python + Numba can be a viable substitute to mex, that is, you can make your MATLAB code run faster by calling compute intensive functions in Numba-enhanced Python code! https://al.danial.org/posts/accelerate_matlab_with_python_and_numba/ has examples.
Categories
Find more on Call MATLAB from Python in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!