MATLAB and Numpy

Mike Croucher 2024 年 12 月 5 日
最新アクティビティ xingxingcui さんによる返信 (2024 年 12 月 13 日)

I've always used MATLAB with other languages. In the early days, C and C++ via mex files were the most common ways I spliced two languages together. Other than that I've also used MATLAB with Java, Excel and even Fortran.
In more recent years, Python is the language I tend to use most alongside MATLAB and support for this combination is steadily improving. In my latest blog post, I show how easy it has become to use Python's Numpy with MATLAB.
Have you used this functionality much? If so, what for? How well did it work for you?
xingxingcui
xingxingcui 2024 年 12 月 11 日
I enjoy using NumPy in MATLAB, especially for algorithms that are difficult to replicate in MATLAB. By using NumPy, I can interact with Python. Last year, I even wrote a basic blog post titled 'How to Elegantly Use OpenCV in the MATLAB Environment‘.
Chen Lin
Chen Lin 2024 年 12 月 11 日
Nice post. You should considering sharing your techincial articles in Discussions as well so that MATLAB users around the world can benifit.
xingxingcui
xingxingcui 2024 年 12 月 13 日
@Chen Lin That's a good idea, thank you for the reminder. In the future, I will try to publish technical articles in this new discussion module. If there are any inappropriate parts, please feel free to provide guidance.