this post was submitted on 01 Jul 2023
4 points (100.0% liked)
Matlab
144 readers
1 users here now
MATLAB is a programming and numeric computing platform used by millions of engineers and scientists to analyze data, develop algorithms, and create models.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
As much as MATLAB is a great tool, I feel the need to point out that it is roughly equivalent to shooting yourself in the foot long-term.
Unless you plan on working at a huge company with legacy systems you are likely never going to use it outside of academia. My university seems to be transitioning away from it and others I have talked to had similar thoughts. In the cohort of students I went thought grad school with, AFAIK none of us are at companies that use MATLAB.
I don't want to be a downer, but going straight to Python is likely a better long term move.
I agree with most of what you said, specially for those doing CS, maths and statistics, data science. It’s cheaper, easier and wiser to just learn python. Specially that you’ll learn more programming doing python than Matlab.
However for engineering projects/work related to electrical, mechanical and such, the alternatives are not as good. Python BMS is improving but still not as good as Simulink.
Plus as a student usually you don’t have the freedom of choice, if the course requires Matlab (and most engineering degrees do) then you must learn it, at least to the level that you can finish the required tasks/assignments.
Personally I’m not a huge fan of Matlab, it’s just a tool in my arsenal for specific tasks. Anything else I would prefer any other general-purpose programming language such as cpp, python…etc.
It is not true that Matlab is without alternative in engineering. Peter Corke migrated his famous robotics toolbox from Matlab to Python.
petercorke/robotics-toolbox-python
And for robotics there is actually ROS 2. Matlab is still there, but i think its dying.
I didn't say there are no alternatives, i said they are still not as good. Some libraries/toolset are still buggy, others lacking features, some are developing but really slow and lacking resources...etc.
For the time being, some users just want a tool that works, and if they have the license for it then why not? Plus no engineer will stick to one tool for the rest of their career anyway.
The problem is that Matlab isn't free nor gratis. It is closed source commercial dev environment for a high price. It might be of no cost for students, but after being a student it costs a lot. Also, there are really better ways to learn programming than Matlab. It doesn't even support OOP.
As such, i would really recommend to any student to avoid Matlab if possible. Learn real languages such as Python, C++ etc.
I started my MSc and part of it involved building a ray-tracing simulation. I built it in MATLAB, but the technical debt quickly became so high that I had to rebuild it all in Python.
MATLAB does have classes, but it is hot garbage. Distributed computing is also awful (I moved to Python and Pyspark in quick succession and life got a lot better).
The only industry job I have seen request MATLAB was for legacy companies like Telesat and I wouldn't be surprised if they were moving towards Python since the license fees are insane.
Is SageMath actually used outside of Uni?
I have heard of SageMath, but never used it.
I have never seen people use tooling like that in industry. It could be that I am simply not interacting with companies that do, but across all the modeling I have done I have yet to see symbolic math.
The closest thing I have used to symbolic math is PyMC which is a bit of a stretch.