Slashdot Mirror


Mathematica vs. Matlab?

Ninnux asks: "I wanted to find out from the community which was the better mathametics modeling package: Mathematica or Matlab. The cancer center I research and program for is considering purchasing a license set. I'll be working with Bayesian machine learning and other bioinformatic approaches for hormone pathway modeling. I know Matlab has various toolboxes that would be rather useful, but I'd like to hear what people think." While I'm sure direct comparisons will be made, I think focusing on the specific niche will help Ninnux the most; so, how well does each piece of software handle Bayesian functions and other bioinformatic computations?

3 of 37 comments (clear)

  1. both reasonably good by MarvinMouse · · Score: 2, Interesting

    I found Mathlab to be the more commonly used program, while Mathematica has more features. (but I haven't used either enough to be an authority.)

    I have though found another product, Maple, to be a quality mathematics program. Perhaps you may want to consider that one as well.

    --
    ~ kjrose
  2. Re:Mathematic and Maple vs. Matlab by grammar+nazi · · Score: 3, Interesting
    jbolden pretty much sums up the differences in the parent comment.

    I used mathematica extensively in college, and I've used Matlab + neural network toolbox extensively in my profession.

    Another majore difference between the two is programming languages. Mathematica is best utilized as a functional, lisp-ish programming language, while Matlab is best for C-ish programming that is optimmized for vectors. If the whitepapers that you read for your research do a lot of AI programming in Lisp, then go with Mathematica. If the AI whitepapers use a lot of neural networks or general C/Fortran algorithms, then go with Matlab.
    If you are using the math package for prototyping, and then converting the code a run-time system, then I would definitely stick with Matlab->C and Mathematica->Lisp.

    Ninnux, if you are serious about this, then email me at b_pretender(at)yahoo(dot)com and I can tell you a little more about what I've used and what I've thought about it. We developed our own baysian filters and also used the Matlab image processing toolbox extensively. Most of my comments will be Matlab biased, but that is because I've used it and I've liked it.

    --

    Keeping /. free of grammatical errors for ~5 years.
  3. Syntax Error... Matlab -or- Maple vs Mathematica by green+pizza · · Score: 3, Interesting

    I would suggest doing some more research about Matlab and Mathematica (as well as Maple).

    Matlab is mostly used for creation of and use of complex algorithms, DSP simulations, and other "heavy math" tasks. It's a great swiss army knife and integrates easily with most C compilers for compiled-performance (rather than interpreted). One of the many "modules" included with Matlab is a symbolic math package based on the Maple engine (see below).

    Mathematica and Maple are little more than symbolic math packages. (Don't get me wrong, they can do A LOT, but neither comes close to the full Matlab package). Each has its pros and cons, but either will do quite well for any math undergrad university student and most grad students. The merits of Mathematica vs Maple are often heavily debated on the usenet and in other forums.

    Matlab, Mathematica, and Maple are all very powerful packages... they can do **WAY** more than any of the lame "MathCAD" type apps you probably used in high school.

    All three are available for Windows, Mac OS X, Linux, and most flavors of Unix (Solaris, AIX, IRIX, HP-UX, Tru64). Each has a rather simple interface and "looks" like a native application with the exception of the Linux/Unix version of Matlab -- it's a quick port from Windows with some lame crossplatform toolkit. Its GUI widgets look as though they're straight out of Windows. This cannot be changed without a lot of hackery. Despite the ugly interface, I would recommend Matlab for students... the student price is about the same as that of Mathematica or Maple, yet includes so much more (plus all of the symbolic math features straight from Maple 8).

    If you don't need (or don't want) all that Matlab offers, Maple may do the trick for you. I used Maple 6 for years and only recently moved to Matlab (for compatibility reasons). Maple, even the current Maple 8, is a clean lightweight application. It's easy on the disk and ram, and even easier on the CPU. And, (IMHO), it does just as much as Mathematica would for me.

    Also, all three have a full-featured command line interface alternative to their GUIs. Learning how to key in equations without the mouse and tool palettes will help you in the long run -- you'll be able to enter data much faster. Brushing up on TeX and/or MathML will also prove helpful.

    These days, my workstation runs little more than Matlab, LyX, and sometimes Framemaker.