Blog

Matlab, Python and How to Best Combine Between Them

Jun 01, 2021

Back to Blog

vision elements matlab vs python

As data scientists and computer vision specialists, the most prominent tools we use are Matlab and Python. In the following blog post, I’d like to share with you some thoughts and best practices regarding the combination of these two important tools.

In recent years, Matlab lost a lot of its prestige and Python became much more popular. Nevertheless, I still find many advantages working with Matlab. Its IDE (Integrated Development Environment) is extremely convenient and allows me to debug and dig into my code very efficiently, more than any Python IDE allows. Since debugging and digging is the main action an algorithm developer is doing, this feature is very important to me.

I also found Matlab more convenient in visualization especially in 3D and the built-in functions are very stable with great documentation (after all, you do pay for something…).

From my experience, the main advantage in Python is the huge diversity of implementations of state-of-the-art algorithms. With millions of developers in this open-source code, I can be sure that if I need some implementation, someone has already done it. This is especially true in deep learning.

So, just like everything in life, this is not simply “black and white”. Both Matlab and Python have pros and cons. That’s why I was very happy to find out that Matlab can run very easily any Python command and package. How easily? All I had to do is write Py. followed by any Python command I chose. No need for imports or reinstallation of packages and so actually in some ways it is easier to run Python from Matlab than any other IDE!

vision elements

So, if you think that both Matlab and Python are great tools, here is a great option to use them both, simultaneously.
Enjoy!

For any questions on Computer vision or Artificial Intelligence development projects, please don’t hesitate to contact us via info@vision-elements.com

Asaf Shimshovitz, PhD

Recent Posts

Vision Elements joins NVIDIA Metropolis Partner Program
Read More
Kadima, Israel — February 22nd 2022 — Vision Elements, a leading service provider offering customized research and algorithm […]
Data Scientists from Vision Elements Accelerate Research and Development for a Game Changing Medical Device
Read More
Late stage start-up hires data scientists from Vision Elements as an integral part of their development team   […]
40 Artificial Intelligence Statistics You Need to Know
Read More
Want to know the state of artificial intelligence (AI) in some of the top industries in 2021? We’ve […]