source of the python benchmarks
2 views (last 30 days)
Show older comments
Here in this page MATLAB team has mentioned that they have a dozen of benchmarks shwoing MATLAB is faster than Python:
![](https://nl.mathworks.com/content/mathworks/nl/en/products/matlab/matlab-vs-python/_jcr_content/mainParsys/columns/2/columns_297234033/2/image_658928665.adapt.full.high.jpg/1528794230773.jpg)
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
Answers (1)
Al Danial
on 10 Sep 2023
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.
0 Comments
See Also
Categories
Find more on Call Python from MATLAB 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!