Matlab vs mathematica vs maple?

In summary, people recommend either MATLAB or Maple for programming, but Matlab is better because it has more optimization tools. people who are physicists should learn both MATLAB and Maple because they are both useful.
  • #1
Dathascome
55
0
I currently don't know how to use any such programs like this. I took a C++ class along time ago but barely remember it. I am a junior undergrad and feel like it is very important that I learn to use some such program like one of these.

Does anyone have any suggestions on what would be the best program to learn might be, the best method, the best book or website or anything that could help me learn this stuff on my own?

How important is this sort of stuff for a physicist? I know it's a stupid question but I figured I'd ask anyways.
 
Physics news on Phys.org
  • #2
I haven't used mathematica but maple is useful and MATLAB is crucial. Matlab is mainly used for data analysis. I mainly use maple for extremely tedious integrals and such and checking my homework.

This should get you started with matlab: http://www.mathworks.com/access/helpdesk/help/techdoc/matlab.html
 
  • #3
One of my colleagues has called MatLab "C Light" because the syntax is very similar. On a further note, there is a gnu program called Octave which is a free Matlab clone. The little I have looked at it really impresses me and I am working on learning it.
 
  • #4
you could prolly get a student edition to matlab... as for tutorials...look to your schools textbook/courseware and look for the Numerical Analysis/Numerical Methods/mathematical methods classes they will tend to be taught in matlab(sometimes even if taught from teh cs dept).
 
  • #5
To stir the pot I will throw my vote in for Mathematica, I like it better than MATLAB but that's just my personal opinion, you can't go wrong with either. I would d/l trials for both and do some simple stuff in them and see which one you like best.
 
  • #6
Dr Transport said:
One of my colleagues has called MatLab "C Light" because the syntax is very similar. On a further note, there is a gnu program called Octave which is a free Matlab clone. The little I have looked at it really impresses me and I am working on learning it.

Octave is good stuff indeed. I use it at home and MATLAB at school/work. What it lacks is the useful tools for fitting functions into measurement data you can find in matlab's optimization toolbox. But then again if you need those you can try to program them yourself.
 
  • #7
I have some experience with Matlab/Octave.

The main feature is its simple syntax in dealing with arrays and matrices, in C++ you must write a routine operating on each element, then, you always have to declare variables and you cannot work on the data you get as soon as the are in your hands since you have to compile an exe, with MATLAB these problems are overcome:

A=[] (you initialize an empty array, the length is not necessary)

or:
B=[1,3,4,-2]
if you wanted to delete one of the elements of B with C++ you'd have to work quite hard, with MATLAB it is enough for you to write:
B(2)=[]
and the result is that B becomes [1,4,-2]

or, for instance you can easily use operations like:
A.^2, and every element of A gets squared (whereas A^2 is only defined for matrices nxn and represents the usual product)

Anyway, the most of the Phisicists, as far as I know, is used to programming in old glorious Fortran.
 
  • #8
the other advantage of MATLAB is the addon toolboxes like the neuralnets which the others i believe lack. and you can't really do any 3D graphics with any of the 3.
 
  • #9
For a (67-page) technical comparison of these programs please see this file, but it might be a little outdated:
http://www.scientificweb.com/ncrunch/ncrunch4.pdf
For a more up-to-date and comprehensive comparison, please read the following articles from this years "Computing in Science & Engineering":

Maple, Mathematica, and Matlab: the 3M's without the tape
Chonacky, N.; Winch, D.;
Computing in Science & Engineering [see also IEEE Computational Science and Engineering]
Volume 7, Issue 1, Jan.-Feb. 2005 Page(s):8 - 16

Reviews of Maple, Mathematica, and Matlab: Coming Soon to a Publication Near You
Chonacky, N.; Winch, D.;
Computing in Science & Engineering [see also IEEE Computational Science and Engineering]
Volume 7, Issue 2, March-April 2005 Page(s):9 - 10

3Ms for Instruction: Reviews of Maple, Mathematica, and Matlab
Chonacky, N.; Winch, D.;
Computing in Science & Engineering [see also IEEE Computational Science and Engineering]
Volume 7, Issue 3, May-June 2005 Page(s):7 - 13


These actually is an on-going series of articles on this topic in the journal "Computing in Science & Engineering", so keep checking. And if you don't have access to the journal, please PM me and I'll be happy to send you the articles.

Hope this answers some of your questions. I personally suggest Mathematica and the "Mathematica Book" comes with the software as the best resource for learning how to use the program. (After you finish reading the Book if you still want to learn more, try Michael Trott)
 
  • #10
Here is my experience with the three:

Mathematica is used mostly by our math department. They like it okay, but all of the Math people in the Center for Nonlinear and Dynamical Studies use MATLAB. The engineering programs swear by MATLAB, and I'm fairly sure MATLAB is the best for hardcore number crunching. Maple has the smallest learning curve, and is useful if you're doing a lot of analytic work, since Maple is very good with algebraic manipulation and symbolic stuff. So I guess it depends on what you're working with.

I use Maple when I'm checking some gross integral or want to make some really quick 3-D plots of things, and MATLAB when I'm doing really large numerical work (on my system it runs 100,000 iterations on a simple recursion relation I programmed in about two minutes). I have almost no exposure to Mathematica.
 
  • #11
I have only been exposed to an old version of Maple - but I like it a lot. It is very useful for very complex symbolic manipulations all by itself. You can, for instance, write down complex Lagrangians or Hamiltonians and symbolically do all the necessary differentiation. You can find oddball intergals. If you can't solve a problem analytically, it has routines to solve the problem numerically. You can generate plots of equations, or of numerical solutions to equations.

Maple also very useful with the free program "GRTensorII" for working with tensors, especially (but not limited to) the tensors found in GR. There is a lmited version of GRTensorII which works with Mathematica called GRTensorM, but I've never used it.

In the freeware department, "Maxima" has some of the symbolic capabilities of Maple, but it's not nearly as powerful or complete, and seems harder to use.
 

What are the differences between Matlab, Mathematica, and Maple?

Matlab, Mathematica, and Maple are all powerful software tools commonly used in scientific computing and data analysis. While they share some similarities, they also have distinct differences.

Which of these software is better for data analysis?

This depends on the specific needs of the user. Matlab is known for its robust data analysis and visualization capabilities, while Mathematica is known for its advanced mathematical and symbolic computation features. Maple is also strong in both data analysis and mathematical computations. Ultimately, the best software for data analysis will depend on the individual's specific needs and preferences.

Can I perform numerical simulations with these software?

Yes, all three software have numerical simulation capabilities. However, Matlab is specifically designed for this purpose and has a user-friendly interface, making it a popular choice for numerical simulations. Mathematica and Maple also have powerful numerical simulation tools, but may require more advanced knowledge to use.

Are there any notable differences in cost between these software?

Yes, there are differences in cost between Matlab, Mathematica, and Maple. Matlab and Mathematica both require a license fee for use, while Maple offers a free version with limited features and a paid version with more advanced capabilities. The cost of a license for each software may also vary depending on the specific version and any available discounts.

Which software is more commonly used in scientific research?

This can vary depending on the field of research and individual preferences. However, Matlab is widely used in engineering, mathematics, and other scientific disciplines, while Mathematica and Maple are more commonly used in mathematics and theoretical physics. All three software have a strong presence in scientific research and are continuously evolving to meet the needs of users.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
5
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
22
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
3K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
8
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
4
Views
1K
Back
Top