Numerical Methods (Java vs Matlab)

Click For Summary

Discussion Overview

The discussion revolves around the comparison of Java and MATLAB for numerical methods, particularly in the context of research degrees. Participants explore the usability, power, and learning curve associated with both programming languages and environments.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants note that Java is rarely used for numerical methods compared to other software like Mathcad and Mathematica, suggesting that the choice of software depends on specific purposes.
  • One participant highlights the differences between Java as a full programming language and MATLAB as a computing environment, emphasizing that Java offers more power and flexibility but is also more complex and harder to learn.
  • Another participant expresses concern about transitioning from Java to MATLAB, questioning whether MATLAB's limitations might necessitate further language learning.
  • There is a suggestion that research assistants typically use MATLAB for its sufficiency in completing tasks, while researchers might prefer full programming languages for their broader capabilities.

Areas of Agreement / Disagreement

Participants express differing views on the usability and appropriateness of Java versus MATLAB for numerical methods, indicating that no consensus exists on which is superior or more suitable for specific tasks.

Contextual Notes

Some limitations in the discussion include the lack of specific examples of numerical methods implemented in either language and the absence of detailed comparisons of performance or ease of use.

ronaldoshaky
Messages
52
Reaction score
0
Hello to all

I've been wondering about the skills needed for doing a research degree. I've been looking at the Matlab language recently and it seems somewhat similar to Java. Is Java just as easy to use as Matlab for doing numerical methods? I'd be interested in hearing your views.

Thank you

(Apologies for putting this in academic guidance. It seems like there are a lot of people contributing in here, who are in graduate school or are academics.)
 
Physics news on Phys.org
Hi,
I never see people using Java for numerical methods. The widely used ones are the Mathcad, Mathematica. Any may be some more software should be there. To me the usage of these software mainly depends on what purpose you prefer. For eg., for peak Origin is best. And gnuplot for all-round work. Plotting XMgrace (this can also do fitting and some numerical methods, but time consuming). I normally make my own C-program for simple/average level work. But i recommend you to learn some programming for sure it will help you.
hope this helps.
 
They're really pretty different. Java is a full programming language, while MATLAB is a 'computing environment'--effectively just a program that reads scripts/etc.

In the end Java (like c/c++/obj-c) is far more powerful as you have a much broader range of tools to use, and fewer restrictions on how you piece them together. At the same time, those very same reasons make java a little more difficult in that it is much more complicated, and harder to learn.

I think a good way to explain it is that: a research assistant would use matlab--its often enough to get the job done; a researcher would use a full programming language (probably C/C++) because they need the power and flexibility.
 
zhermes said:
They're really pretty different. Java is a full programming language, while MATLAB is a 'computing environment'--effectively just a program that reads scripts/etc.

In the end Java (like c/c++/obj-c) is far more powerful as you have a much broader range of tools to use, and fewer restrictions on how you piece them together. At the same time, those very same reasons make java a little more difficult in that it is much more complicated, and harder to learn.

I think a good way to explain it is that: a research assistant would use matlab--its often enough to get the job done; a researcher would use a full programming language (probably C/C++) because they need the power and flexibility.

My reason for asking was, well, I already have learned to program in Java. But I was doing a course in shell scripting with Unix, and I found that when I left Java for a while and then went back to programming in Java I found it difficult to get back into thinking in Java. I don't want to start using Matlab and find out its limited and that I have to start re thinking about what other languages I should be using.
 

Similar threads

Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
18K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 3 ·
Replies
3
Views
3K
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K