Matlab toolboxes essential for every physicist

In summary: I do not think the toolboxes that are available in the student license are essential for most theoretical and experimental physicists. However, the free alternative, Freemat, does work well and is free.
  • #1
Wrichik Basu
Science Advisor
Insights Author
Gold Member
2,116
2,691
I was looking forward to buy Matlab student license sometime this year. Anyone who has already bought a license knows that a number of toolboxes are available. Here is the site.

I am not buying Simulink at this moment. So, please leave out anything related to Simulink.

Other than the basic software, what are the toolboxes that an experimental/theoretical physicist requires in day to day work?
 
Physics news on Phys.org
  • #2
At our lab, folks just don’t use the toolboxes as the core is sufficient for must applications. Also the physicists here don’t like the fact that toolbox algorithms are proprietary to MATLAB and as such you can’t see how they really work and that’s important for efficiency, limitations and for accuracy.

There’s a free alternative to Matlab called freemat that works quite well and of course it’s free. Matlab gives away cheap licenses to students in the hope that they will insist that their future employers must buy the full product for work and it’s much more than the student pays. Many engineers use Matlab all the time in their work.

Also, have you checked out Julia? It’s has a flavor of Matlab but the ide interface isn’t there yet. However, the Jupiter notebooks, and Jupiterlab gives you a similar experience. There’s also Juliapro which is the atom-Juno editor packaged configured and packaged with Julia. Julia has an impressive speed advantage over other languages except for C code and can interoperate with other popular data science languages such as python, java, r, fortran and c.

Many physics problems focus on solving differential equations and partial differential equations numerically and plotting the results and much of that capability is already present in the core.
 
  • Like
Likes m4r35n357
  • #3
jedishrfu said:
Also, have you checked out Julia? It’s has a flavor of Matlab but the ide interface isn’t there yet. However, the Jupiter notebooks, and Jupiterlab gives you a similar experience. There’s also Juliapro which is the atom-Juno editor packaged configured and packaged with Julia. Julia has an impressive speed advantage over other languages except for C code and can interoperate with other popular data science languages such as python, java, r, fortran and c.
Actually, when I first read about MATLAB a couple of years back, I found that they have an app for Android mobile. While for the desktop app one needs a license to do anything, for the mobile app, one gets access to a number of functions. I have been using them until now. I felt that I should buy the license to explore the software further.

However, recently I had the feeling that MATLAB has some shortcomings, though I against complaining about that. Having used java for nearly four years now, I find a lack of proper modularity, something that java supports to a great extent.

I will happily try out the softwares that you have recommended. Just help me out a bit:

JupyterLab: https://jupyterlab.readthedocs.io/en/stable/

Jupyter Notebook: http://jupyter.org

Julia Pro: https://juliacomputing.com/products/juliapro.html

Are these websites correct?

Which of these would you prefer the most? Which one do you use mostly for computations?

Also, I found people writing about SciLab. Do you have any opinions regarding that?
 
Last edited:
  • #4
I’ve heard the Matlab clones are slower than Matlab. The clones are scilab and octave. I don’t know if freemat is slower but I imagine it is. I’ve used freemat when I needed to do some quick plots or calculations.

For Julia the Jupyter notebook seems to be the most effective ide. Jupiter lab looks good too. It’s based on the Jupyter notebook which is in fact an interactive web page. I’m playing with juliapro right now but feel it’s a bit slow. Juliapro is based on Juno which is a custom version of the atom webbased editor utility and is also sluggish. Some folks use vim and Julia directly. I feel things will change as the Julia community demands better tools.

Julia too is slow initially as it needs to build its environment but once that’s done it runs much faster.
 
  • Like
Likes Wrichik Basu
  • #5
jedishrfu said:
There’s a free alternative to Matlab called freemat that works quite well and of course it’s free.
And GNU Octave, of course.
 
  • Like
Likes jedishrfu
  • #7
jedishrfu said:
Yes, I mentioned that in my prior post #4
I was answering #2 and saw #4 after I posted . . . ;)
 
  • Like
Likes jedishrfu
  • #8
I use and have used MATLAB for work in universities and national labs, both in physics in engineering. The toolboxes I use most are image processing, image acquisition, control, signal processing, and data acquisition. I think almost all of those are included in the student license.
 
  • #9
The only other one that I use that is not in the student version is the curve fitting toolbox.
 

1. What is Matlab and why is it important for physicists?

Matlab is a programming language and software environment used for numerical computing and data analysis. It is important for physicists because it allows for efficient and accurate modeling and simulation of complex physical systems, as well as data visualization and analysis.

2. What are toolboxes in Matlab and why are they essential for physicists?

Toolboxes in Matlab are collections of functions and tools that extend the capabilities of the software. They are essential for physicists because they provide specialized functions for specific areas of physics, such as signal processing, control systems, and image processing. These toolboxes save time and effort by providing pre-written code for common tasks in physics.

3. Which Matlab toolboxes are essential for every physicist?

Some essential Matlab toolboxes for physicists include the Signal Processing Toolbox, Control System Toolbox, and Image Processing Toolbox. Other useful toolboxes may include the Optimization Toolbox, Parallel Computing Toolbox, and Statistics and Machine Learning Toolbox.

4. How can I access and install Matlab toolboxes?

To access and install Matlab toolboxes, you can use the "Add-Ons" button in the Matlab toolbar. This will open the Add-On Explorer, where you can browse and install toolboxes from the MathWorks website. You can also install toolboxes manually by downloading the toolbox file and adding it to your Matlab path.

5. Are there any free alternatives to Matlab toolboxes for physicists?

Yes, there are some free alternatives to Matlab toolboxes for physicists, such as the GNU Octave software and its packages, which offer similar functionality to Matlab and its toolboxes. However, Matlab toolboxes are often more comprehensive and user-friendly, making them a popular choice among physicists.

Similar threads

  • MATLAB, Maple, Mathematica, LaTeX
Replies
10
Views
2K
Replies
22
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
2K
  • STEM Educators and Teaching
Replies
4
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
17
Views
2K
Replies
1
Views
816
  • MATLAB, Maple, Mathematica, LaTeX
Replies
12
Views
1K
  • STEM Academic Advising
Replies
9
Views
1K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
7K
Replies
4
Views
1K
Back
Top