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 alike use MATLAB for are not particularly demanding calculations that easily could 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 the language, plugins, and capabilities in general.
But MATLAB is a proprietary tool. Without access to its source code, you are limited in how you can truly understand how it works, and how you can modify it. It is also prohibitively expensive for many people outside of an academic setting, where license fees for a single copy can reach into the thousands of dollars.
Fortunately, there are many great open source alternatives. Depending on exactly what your objective is, you may find one or another to more aptly fit your specific needs. Here are three to consider:
GNU Octave may be the best-known alternatives to MATLAB. In active development for almost three decades, Octave runs on Windows, Mac, and Linux alike, and is packaged for most major distributions. If you’re looking for a project that is as close to the actual MATLAB language as possible, Octave may be a good fit for you; it strives for exact compatibility, so many of your projects developed for MATLAB may run in Octave with no modification necessary.
Octave doesn’t ship with a frontend user interface by default, but there are many different options out there; Octave’s Wikipedia page lists several options.
Scilab is another open source option for numerical computing which runs across all of the major platforms: Windows, Mac, and Linux included. Scilab perhaps the best known alternative outside of Octave, and like Octave, it is very similar to MATLAB in its implementation, although exact compatibility is not a goal of the project’s developers.
SageMath is another open source mathematics software system which might be a good option for those seeking a MATLAB alternative. Built on top of a variety of well-know Python-based scientific computing libraries, and its own language is syntactically similar to Python. It has many features, including a command-line interface, browser-based notebooks, tools for embedding formulas in other documents, and of course, many mathematical libraries.
This list only scratches the surface of tools that researchers and students alike may choose to use as open source alternatives to MATLAB. There are plenty of others like Genius Mathematic Tool and FreeMat , and of course R, Julia, Python, and other standard programming languages might be a good fit for you, depending on exactly what your needs are. Have you used any of these, or others? Which one do you prefer and why? Let us know in the comments below.