Should I Learn Matlab or Java?

preview_player
Показать описание
Should I learn Matlab or Java?

Or you could call Java using Matlab. Matlab builder JA lets you build Java Classes using your Matlab programs.

Don't make this more complicated than it already is.

Matlab is a computing environment designed for number crunching. Java is an object oriented programming language.

I seriously heard people debating which to use for their homework.

For coding and data administration, Java is better. For figuring out your linear algebra or Calculus homework, Matlab is better.

People were discussing which one to use for data analysis.

If you are writing your own FFT, Java is faster than Matlab. If you can use the FFTs from Matlab's library, Matlab wins.

Any time you can use a library over re-inventing the wheel, that is the better choice.

Matlab may do a lot of data analysis, but it can't do much else. Let's be honest - you aren't going to use Java for a web project or mobile device.

What about when you're doing data analysis?

If the math problem can be broken down into a matrix or a vector, Matlab wins.

What is the difference if you are doing similar mathematical analysis in either one?

Java is faster to compile. But Matlab is only interpreted, so it generally gives back answers faster.

Yet you can do data crunching in either.

Matlab is like Python; it is a good, fast get-around-town tool. However, if you need high performance, a language like C++ or Java customized to the environment and conditions is better.

So what do you think I should do?

Learn Matlab so you'll get As in your math classes and physics. Learn Java as your programming language.

And avoid Matlab Builder JA like the plague.

Well, it might work if you need to build demonstration engineering apps.

And that's only if I'm going back for a masters.

No, senior design project.
Рекомендации по теме