What coding languages are used most in Physics degrees?Watch
Matlab, although this can be expensive. Python is the one I used the most, both in terms of research and in terms of on-the-course learning. I'd recommend downloading Spyder for Python! (And at the beginning, it doesn't matter much which version--2.7 or 3.6--you download, as long as you remember which version it is.)
I'd highly recommend getting into Python, not Matlab. Matlab is great, but expensive to get locked into. Have a look at most job descriptions and they'll often ask for Python and/or Matlab, or just Python, rarely only Matlab is a requirement. Regarding scientific programming, I'd say Matlab is probably easier to learn the syntax for, but there isn't a huge difference between the two, so if you are comfortable with Python, Matlab will be straight forward to pick up.
Since Python is free, has plently of science/machine learning modules then it makes more sense to learn it if you have the choice.
Also, note that just because a course teaches in Matlab, doesn't mean you need to do the coursework in Matlab (unless they specifically request it). In my numerical modelling project, the mathematical programming was taught in Matlab, but one guy did his coursework project in Python. So long as you get the end result it shouldn't matter, but of course check with the module coordinator first.
official site for the course here: https://www.py4e.com/