source of the python benchmarks
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Al Danial
2023-9-10
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Python from MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!