NymPy

See the following -

3 Open Source Alternatives to MATLAB

For many students in mathematics, physical sciences, engineering, economics, and other fields with a heavy numeric component, MATLAB is their first introduction to programming or scientific computing in general. It can be a good tool for learning, although (in my experience) many of the things that students and researchers use MATLAB for are not particularly demanding calculations; rather they could easily be conducted with any number of basic scripting tools, with or without statistical or math-oriented packages. However, it does have a near ubiquity in many academic settings, bringing with it a large community of users familiar with the language, plugins, and capabilities in general...