r/MechanicalEngineering • u/Strange_Rock_9003 • 9d ago
Open source matlab
Is there an open source matlab offline download for practice. If it's there where can I find it.
79
u/timeforstrapons 9d ago
Octave is exactly what you're describing, but I would say there's value in just learning Python instead, as a lot of engineers are increasingly using Python instead of Matlab. I like using Spyder as my Python IDE - the interface is similar to MATLAB.
13
u/lithophytum 9d ago
I second Python/Spyder, I found it as my alternative to matlab and have since expanded my python skills. Need to interface with a data sensor, I turn to python. Need to analyze the dataset, python again. Need a graphic search app to help you find drawings in deep nested file structure, yup, python. Such a good tool to have in your pocket as an engineer.
13
u/Jst4KicksAndGiggles 9d ago
Learning Python is great, but you should be aware that some companies have security issues with letting their engineers use it. Where I work, for example, we have a matlab license that has all of the toolboxes. I was going to build something with it a nd thought, why not just use python? But it turns out that due to security concerns, engineers at this company are not allowed to do so. It takes months to get an exception in place. So I just used matlab and of course it works well.
3
-21
u/pr0m1th3as 9d ago
Where exactly is the value in learning a generic interpreted language instead of one which was built on purpose for numerical computations and thus truly aligned with all computational requirement in diverse engineering tasks?
15
u/Piemagicman 9d ago
Because sometimes you need to do more than just crank numbers. Mastery over MatLab or Octave is helpful in specialized scenarios but Python would be useful in other areas like workflow automation or maybe Jupyter for graphical reports with calculator elements.
1
u/pr0m1th3as 9d ago
When you are modelling a system, which is what in engineering sciences we usually do, cranking numbers is exactly that.
1
u/reddit_user33 8d ago
Matlab vs Python/etc for me depends on the industry and size of companies you want to work. For smaller companies, you can pick what you prefer to use.
I would prefer to learn the Python that you can take with you, licence free, then be stuck learning a proprietary system that's expensive to licence, that cannot be exported out of Matlab.
Look at all of the videographers itching to move away from Adobe, because it's somewhat a similar situation.
4
u/apelikeartisan 9d ago
Because learning the patterns behind computational programming transfer easily, and MATLAB is prohibitively expensive for many, especially students.
Furthermore, Python's modern ecosystem is so mature it has become standard in countless labs and R&D groups worldwide. Are you being serious? It's not 1991 anymore.
2
u/LeGama 9d ago
A Matlab home license is $165, that's extremely cheap for engineering software.
2
u/apelikeartisan 9d ago edited 9d ago
That does not include any toolboxes, though...no symbolic math, no control design, etc. A surcharge for each.
Python is literally free for the whole shebang and is applicable to literally any software or automation tasks.
I love MATLAB, its great. But you don't think theres something to be said about getting feature parity (and beyond) for free?
The only objective one up MATLAB has over python is Simulink
1
u/LeGama 9d ago
Matlab home license includes MATLAB, Online Training Suite, Simulink, Control System Toolbox, Curve Fitting Toolbox, Deep Learning Toolbox, DSP System Toolbox, Image Processing Toolbox, Optimization Toolbox, Parallel Computing Toolbox, Signal Processing Toolbox, Simscape, Simscape Electrical, Statistics and Machine Learning Toolbox, Symbolic Math Toolbox.
Lol, you haven't actually looked at it recently have you? Also the extra toolboxes cost $49 a piece, so still pretty reasonable.
The problem with python is that those "toolboxes" don't even exist. You would have to code them up yourself.
1
u/apelikeartisan 9d ago edited 9d ago
Lol...caught me, I haven't looked at MATLABs pricing in a good while. Thats a pretty reasonable set for the base price, to be fair. But, why would I bother to look? There's not a lot of reason for me to pay for engineering software at home...and I wouldn't recommend a newbie does either.
Unless you really need Simscape, Python has a better ROI and is literally free. Your scripts will never stop working when you decide to cancel the subscription
0
u/timeforstrapons 9d ago
You can't use a home license for commercial use. Commercial licenses are expensive and recurring costs for a business, easily $1,000-10,000 per seat per year.
1
u/LeGama 9d ago
Sure but anyone looking into GNU Octave is almost definitely not using it for anything commercial. Also a license seats are like 1000 and each package runs like 100 to like 700 for simulink. It's not getting to 10k unless you just blindly take all the packages.
Dude solidworks runs like 15-20k per seat and any sort of ansys will run like 20-30k. Matlab is very cheap for engineering software! They also have start up rates that are even cheaper than the standard.
16
u/ValdemarAloeus 9d ago
In addition to Octave which others have mentioned there's also Scilab, which is supposed to be a similar (but not identical) language and comes with its own simulation package that's meant to be a substitute for Simulink.
13
u/Teh_Original 9d ago edited 9d ago
If you don't need to be exactly like Matlab, but close, try Julia. Otherwise GNU Octave.
11
5
u/DakBrakob 9d ago
Python is free and does pretty much everything matlab can and runs faster
1
1
u/Teh_Original 9d ago
Which is amazing because native Python is also slow (relative to other languages).
2
u/apelikeartisan 9d ago edited 9d ago
MATLAB is not free. I believe you can use MATLAB online for free in a limited capacity, and you can get pretty substantial discounts if you're a student. But honestly? There's other options. In order of least-to-most hipster: Python, Julia, GNU Octave, SciLab
2
2
u/Prestigious_Boat_386 9d ago
Octave isn't that great and you shouldn't use a pirated version of matlab so the best option is julia. Its amazing for coding numerical stuff and also has amazing packages for engineering. Syntax is very similsr to matlab too, it's just cleaner and runs faster
1
u/TheLegoofexcellence 9d ago
Do you use Simulink? That's one thing where I have no experience with the free alternatives.
1
u/Tntn13 8d ago
Another vote for python.
Modeling my coursework in python, and a bit of usage on research for the summer in data processing and modeling kept me just spry enough in industry to know how to find opportunities to use python and other script to streamline workflows or create better visuals for communicating key insights and for data/problem analysis.
1
u/Creative_Sushi 8d ago
MATLAB Online is free up to 20 hours a month and comes with very useful toolboxes. It is obviously not open source, but that what you can use if you need MATLAB and don't want to pay for it.
1
1
133
u/gcentenocastro 9d ago
GNU Octave