3 ms·
Mathematica does so much more than Octave that it's not even remotely comparable. In terms of features, Octave inherited Matlab's matrix-centric mindset by havi
by kccqzy 8y ago
Mathematica does so much more than Octave that it's not even remotely comparable. In terms of features, Octave inherited Matlab's matrix-centric mindset by having the \ operator solve linear systems whereas in Mathematica it's slightly longer (LinearSolve[m,b] or just Inverse[m].b for non-numeric ones). But Mathematica offers symbolic computing as well, and you can very easily go from "solving this equation with machine-precision numbers" to "solve this equation with arbitrary precision algebraic numbers" to "solving this equation with an unknown parameter with conditions" in a seamless way. There are whole areas of mathematics, pure and applied, that can be done in Mathematica but not in Octave. In terms of ease of use, Mathematica also excels here; both data and code share a uniform notation that is very similar to lisp, and functional programming ideas carry over very seamlessly.
I'd say if you are someone who's even remotely mathematically minded, learning to use Mathematica is an extremely useful experience. As an example that recently happened to me, while doing front end work I needed to construct certain geometric figures as an SVG polygon; I used Mathematica's built in graphics primitives combined with its plotting capabilities to find the polygon in no time. Even though the end result is a piece of JavaScript, Mathematica gives me a way to prototype the whole thing in an environment that's "batteries included" and well-polished.
- antnisp 8y agoBoth Octave and MATLAB have had a symbolic toolbox for ages, and can export to many vector graphics formats, from .ps to .svg. Mathematica is way more targeted to the "general public" though. It's fairly obvious that MATLAB started its life as fronted to FORTRAN.
- ktpsns 8y ago> It's fairly obvious that MATLAB started its life as fronted to FORTRAN. I second that and there are quite a number of scientists which use MATLAB and FORTRAN side by side. I would extend this statement: MATLAB feels like a REPL to FORTRAN while Mathematica like a REPL/library to/for LISP.
- BeetleB 8y ago>Mathematica is way more targeted to the "general public" though. Actually, it's way more targeted to mathematicians. The level of symbolic computation it can do is way ahead of any symbolic toolbox you'll find. When I was in grad school, I used NumPy and my group mate used Mathematica. One day I was looking up identities in Gradshteyn and Ryzhik (a bible for identities), and he asked why I bother as Mathematica had it all. He challenged me to find any identity that Mathematica couldn't handle. I thought this would be easy as G&R has more stuff than any other identity handbook out there, but I lost the challenge.
- UncleSlacky 8y agoAlso, Mathematica is free if you're running Raspbian on a Raspberry Pi (or emulating one with QEMU).
- 4thaccount 8y agoSo is a lot of commercial software targeted at getting youngsters to take a peek. Dyalog APL also has a free version for Raspbian
- enriquto 8y agoMathematica is useful and beautiful. But solving a linear system by the antislash operator is a major feature of octave and a piece of notation that I cannot live without.