Should I learn Matlab or Python?

Learn Matlab is you need it to verify your Calculus one and two homework.

What about Python?

That will actually get you a job in computer science.

Why is Matlab so popular with colleges as a mathematics problem solver?

Matlab is cheaper than rivals like Mathematica and Maple, and it creates some great plots.

I think the professors are plotting to make their jobs as easy as possible.

And while you could solve any problem you have in Python code, troubleshooting an error requires an understanding of the math problem, the code problem and the logical error.

It's like when a guy had a math model that was so complicated that A + B = C but C -- B = 1.5. They couldn't figure out the solution so he couldn't get his thesis.

Which is why math professors prefer homework to be done in Matlab over programming languages.

The engineering program uses Fortran and Python.

That's because they are training engineers to code as well as problem solve. And they know that the engineers will be working with finite elements analysis software, structural analysis software and other tools written in Python.

Or Fortran.

It might as well be Greek to me, for all the use it is to me.

When is Matlab a good solution?

Matlab works well when you need to solve something symbolically or do a matrix. Python requires you to vectorize everything, which is good if you are doing vector analysis but not Calculus or linear algebra.

I think I get the picture.

If you need a plot or diagram, Matlab is the way to go. It is very hard to plot a graph, chart or much of anything with Python.

So learn Matlab if I'm doing undergraduate math and learn Python for everything else.

Well, Quicken or Turbotax for your accounting, though that's math you should be able to do with a calculator the rest of the time.

Comments

    • Anthøny Salazαr
      Anthøny Salazαr

      R, MATLAB and C++ are the ones

      about 3 months ago
    • SuperPepperMint
      SuperPepperMint

      Python is the way to go.

      about 1 year ago
    • Aπthøny Salazαr
      Aπthøny Salazαr

      Ohhhh God!!!!! 😔.......

      about 2 years ago
    • David Williamson
      David Williamson

      what's wrong with numpy and matplotlib? Python is way easier and more useful, imo

      about 2 years ago
    • priyanka kalal
      priyanka kalal

      we dnt understd wht des ppl r taking in video

      about 2 years ago
    • Russell Owsley
      Russell Owsley

      Hello, Here is a -74% coupon to Learn Matlab course

      https://www.udemy.com/learn-matlab/?couponCode=2016ML25

      about 2 years ago
    • Mavarok284
      Mavarok284

      The reason why Matlab is used is because of Simulink...

      about 3 years ago
    • Patrick Breach
      Patrick Breach

      This is an awful review. when I switched to python my programs became much shorter and easier to understand. I shaved months off of my thesis switching to python.

      about 3 years ago
    • Jeremyneedsaname
      Jeremyneedsaname

      A historical main reason to use Matlab at the university level over the competition was cost and because it would allow you do parallelize your work (fairly) easily across a cluster of machines as well as take most of the coding aspect out of doing math problems.  There are libraries which will help you do this in Python as well.  If you need a GUI use "ipython notebook" .  For Symbolics use Sympy, for matrices use Numpy.  The ability to create charts is quite a bit easier with Bokeh or Matplotlib.  You can take the django library and make a website with Bokeh's dynamic charts where others might play with your data or allow others to input their own data then the possibilities of other libraries you can hook how that data is used explode... with python.

      about 4 years ago
    • Thomas Blackwell
      Thomas Blackwell In reply to Jeremyneedsaname

      I say Amen to you brother!

      about 6 months ago
    • Jeremyneedsaname
      Jeremyneedsaname In reply to Jeremyneedsaname

      With small datasets and default settings there isn't much difference to the look and feel for the charts I've used. When working with larger datasets Bokeh has the ability to subsample and have a server feed richer content as time passes and more data is loaded. Bokeh also has the ability to construct new graph types using primitives. You can interact with graphs tied together by mouse manuvers, and not have to go through a 3rd party website. (FYI: I looked at Plotly's plots a year ago and I again I looked at Plotly's Python API just briefly tonight so there might be more functionality that I missed during my update)

      about 2 years ago
    • Conjugate Gradient
      Conjugate Gradient In reply to Jeremyneedsaname

      What about plotly? How does it compare to Bokeh?

      about 2 years ago
    • Sting Ray
      Sting Ray

      Well I've got news for you. Professional programmers don't use Python either. 

      about 4 years ago
    • Spider Man
      Spider Man In reply to Sting Ray

      They do dumbass. Python saves time if program optimization is not necessary switching to python saves money and time.

      about 2 years ago