Login

Welcome, Guest. Please login or register.

May 14, 2025, 12:28:31 am

Author Topic: Programming/Software (Mathematica, MATLAB etc..)  (Read 3533 times)  Share 

0 Members and 1 Guest are viewing this topic.

rife168

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 408
  • Respect: +36
  • School Grad Year: 2012
Programming/Software (Mathematica, MATLAB etc..)
« on: May 11, 2012, 05:17:19 pm »
0
I was just wondering if anyone could explain the sort of things that software such as Wolfram Mathematica, MATLAB etc. can do and what they are used for?

Would it be worth me learning to use any of this sort of software for leisure or is it quite task-specific?

Is there any sort of programming language or software which would be beneficial for me to learn for studying maths/physics at university? What do computational Astrophysicists use?

Thanks
2012: VCE - 99.10
2013: PhB(Sci)@ANU

iamtom

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 451
  • Indubitably dubious
  • Respect: +35
  • School: Melbourne High School
  • School Grad Year: 2011
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #1 on: May 11, 2012, 07:21:22 pm »
0
For maths/physics? MATLAB would be a good start, I guess. You can use any programming language for leisure, MATLAB I assume is no different. I don't use it so I don't know what they can do but I assume that MATLAB lets you do mathematical functions a lot easier than in, say, Java. A quick read of its Wikipedia article (http://en.wikipedia.org/wiki/MATLAB) shows that it can be used for all sorts of nifty stuff.
 
As for what computational astrophysicists use, I would assume MATLAB/Mathematica/Maple/C/C++/Java/Python/Perl. It's kind of a broad question, it's like asking what type of pen do you use to write with. I'm pretty sure C/C++ are up there, though, maybe MATLAB too. I'm not really into computational science.

If you want to learn something, aim to learning C, you can't go wrong. But I wouldn't start with it - maybe start with Python or MATLAB and work your way up.
2013: Wizardry, life.

mark_alec

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1173
  • Respect: +30
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #2 on: May 11, 2012, 10:46:02 pm »
0
You will find that FORTRAN is used a lot in the physics community. I wouldn't recommend learning that for pleasure. C is also useful, but not much fun. Try python, it's easy and powerful and can teach you many different paradigms (declarative, object-oriented, functional).

rife168

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 408
  • Respect: +36
  • School Grad Year: 2012
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #3 on: May 12, 2012, 09:21:05 am »
0
Thanks guys, I've done some very basic stuff with python not long ago, I might get started again. Do you know of any good resources for learning python or any other languages? I was using the MIT OpenCourseWare Introduction to Computer Science video lectures.

Have any of you used Mathematica?
2012: VCE - 99.10
2013: PhB(Sci)@ANU

Lasercookie

  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 3168
  • Respect: +326
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #4 on: May 12, 2012, 11:23:18 am »
0
Thanks guys, I've done some very basic stuff with python not long ago, I might get started again. Do you know of any good resources for learning python or any other languages? I was using the MIT OpenCourseWare Introduction to Computer Science video lectures.

Have any of you used Mathematica?
For Python:
Taking a look at these tutorials here are your best source: http://wiki.python.org/moin/BeginnersGuide/NonProgrammers
http://wiki.python.org/moin/BeginnersGuide/Programmers (you might be better off with the first link). You might also have to take note if you're using Python 2.x or Python 3.x

How to Think Like a Computer Scientist has been updated for Python 3.x: http://thinkcspy.appspot.com/build/index.html

I found this book quite good when I was learning Python: http://hetland.org/writing/beginning-python-2/ - it's for Python 2.x though

Once you know the basics, the best thing to do is just play around with code and refer to docs.python.org

For Mathematica: I've only played around with it, there's heaps of stuff you can do with it. The Wolfram website is packed with tutorials and other stuff you can do with it.

Mao

  • CH41RMN
  • Honorary Moderator
  • Great Wonder of ATAR Notes
  • *******
  • Posts: 9181
  • Respect: +390
  • School: Kambrya College
  • School Grad Year: 2008
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #5 on: May 12, 2012, 12:47:11 pm »
0
Really depends on what you want to do. I use a lot of Mathematica, python, ruby and fortran.

For doing maths/physics, learning Mathematica will definitely help with everything. It is a very powerful visualizer (it can plot ANYTHING). It has a very powerful algebra engine. Overall, it is an excellent aid for doing assignments and pretty much everything. However, it is a terrible programming language.

As for python/ruby/MATLAB..., these are good scripting languages, which are useful in doing very repetitive things. (It's a bit harder to do this in Mathematica.) If you end up doing numerical methods and so on, you'll find yourself using one of these scripting language. MATLAB perhaps is the best way to start, as it has many in-built math functions. Python on the other hand, you must import modules and etc to get the math functionality.

When you get down to hardcore calculations, i.e. programs that will take days and days to run, you need to use FORTRAN or C, these are the fastest languages, but they are a bit clumsy to work with.
Editor for ATARNotes Chemistry study guides.

VCE 2008 | Monash BSc (Chem., Appl. Math.) 2009-2011 | UoM BScHon (Chem.) 2012 | UoM PhD (Chem.) 2013-2015

VivaTequila

  • Victorian
  • Part of the furniture
  • *****
  • Posts: 1136
  • Respect: +131
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #6 on: May 12, 2012, 07:15:35 pm »
0
Calculus assignments!
I was just wondering if anyone could explain the sort of things that software such as Wolfram Mathematica, MATLAB etc. can do and what they are used for?

Calc 1 assignments

Gloamglozer

  • The Walking VTAC Guide
  • Honorary Moderator
  • ATAR Notes Legend
  • *******
  • Posts: 4170
  • Here to listen and help
  • Respect: +324
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #7 on: May 12, 2012, 08:20:00 pm »
0
I was just wondering if anyone could explain the sort of things that software such as Wolfram Mathematica, MATLAB etc. can do and what they are used for?

If you ever go to higher level mathematics, it can be used for graphing, probability simulations and definitely operations research (minimising and maximising objective functions).

Bachelor of Science (Mathematics & Statistics) - Discrete Mathematics & Operations Research

excal

  • VN Security
  • Victorian
  • ATAR Notes Legend
  • *******
  • Posts: 3490
  • Über-Geek
  • Respect: +21
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #8 on: June 04, 2012, 11:18:36 pm »
0
Bit of an old thread but I'll throw my two cents in.

If you're going to program for leisure, you need to think about using a language where you're not likely to tear your head out because of some arcane syntactical or semantic quirk and is mature enough so that you can do useful things with it.

For that reason, I'd recommend the Python and Ruby languages. They may be interpreted (and slow) but is close enough semantically to most languages (as mark_alec pointed out) and are easy enough to pick up so you won't drop it.

And if you need something faster, you'll have the skill base in knowing programming techniques generally (the ones that are universal to all languages within a certain paradigm) and algorithms to move to another language (like the .NET languages, or C++ if you're feeling daring)
excal (VCE 05/06) BBIS(IBL) GradCertSc(Statistics) MBBS(Hons) GCertClinUS -- current Master of Medicine candidate
Former Global Moderator

rife168

  • Victorian
  • Forum Obsessive
  • ***
  • Posts: 408
  • Respect: +36
  • School Grad Year: 2012
Re: Programming/Software (Mathematica, MATLAB etc..)
« Reply #9 on: June 05, 2012, 08:52:07 pm »
0
Thanks guys, for what it's worth, I've been working with Python and in particular the VPython module, it's great fun.
Also I've been working through the MIT Intro to Computer Science & Programming course through OpenCourseWare.
2012: VCE - 99.10
2013: PhB(Sci)@ANU