Hacker News new | ask | show | jobs
by baojieai 4364 days ago
There are certainly areas Matlab rocks, and some other that Python rocks. Because of the company support, Matlab has a large scientific community and is probably easier to install (Python has Anaconda and Sage, though).

However, there is one big (maybe a killing one) weakness of Matlab: it's proprietary. I used to work in a big company and need a Matlab license. The license costs 70k$, per year! It takes months to get the purchase approved. The biggest waste in choosing Matlab is the time to get it.

And because its proprietary, we'd have to KEEP buying for YEARS, otherwise our code won't run in the next project.

So we switched to Python in later projects, which does not require bureaucratic approval chains and provides code portability

1 comments

GNU Octave is a basically identical language to MATLAB and, as the name suggests, is free. Identical to the point where most scripts will run using either platform without any issues or needing modification.

http://www.gnu.org/software/octave/

+1, must also mention oct2py, the Python to GNU Octave bridge, that runs m-files from python. Some matlab legacy m-files may be rescued in this way.

Sage and IPython are alternatives, too. http://www.sagemath.org/ http://ipython.org/