MATLAB vs Python for Engineers

  Рет қаралды 60,159

Vincent Stevenson

Vincent Stevenson

Күн бұрын

Пікірлер: 86
@Palon1983
@Palon1983 Жыл бұрын
I am currently doing my BA degree for chemical eng. And i have to say that i do massively appreciate the “on ramp” course Matlab offers. It was such a huge help getting into scripting for the first time.
@arshad0922
@arshad0922 Жыл бұрын
where can i learn these, bro? Matlab youtube?
@alan.m.rebeira
@alan.m.rebeira Жыл бұрын
@@arshad0922matlab website some of the courses are free
@McFlashh
@McFlashh Жыл бұрын
Why BA and not BEng? It’s engineering not art.
@bosunfarouk7588
@bosunfarouk7588 6 ай бұрын
@@McFlashhI’m curious too
@hussrizkk
@hussrizkk 6 ай бұрын
@@McFlashh he might mean BS in chemical engineering
@SelectHawk
@SelectHawk 2 жыл бұрын
I think it depends on what you are trying to do, but I generally agree. I definitely use python a lot more now that I am primarily in industry. The tools that Mathworks has developed are exceptionally good for some niche applications. It is vastly easier to model heat transfer, or tune a simulated PID, or dip your toes into deep learning, or do a variety of other tasks that Mathworks has built into MATLAB on that platform than it would be to build a similar application (gui included) in python. A professor COULD prebuild those tools in python, but that is a lot of work. I feel like, similar to how publishing companies offer pre-made slides and lectures to professors if they use their newest edition book, MATLAB makes professors lives easier for teaching their undergrads. Modelling heat transfer between two buried parallel pipes was one of the first things we did in my Intro to Mechanical Engineering class, and that would have been a semester project for a junior level class at least, if it had been required to be completed in python. In grad school, I have had classes that require both MATLAB and Python, and I have worked in labs that use both.
@revifikri9609
@revifikri9609 Жыл бұрын
Can you tell me what should i learn to use python like like a matlab (replace matlab with python), my professor suggest us to use matlab for modelling dynamic system but i want to use python instead
@ww_yao
@ww_yao 8 ай бұрын
@@revifikri9609did you figure it out?
@m_a_s6069
@m_a_s6069 9 ай бұрын
Matlab is an entry level drug peddled by academic institutions and MathWorks is the supplier. I have worked at more companies that use Fortran than Matlab. And these days, almost everyone is using Python (an interpretid scripting language that is used to make C/C++ libraries like Numpy easy to use).
@ParallaxDimensions-YouTubeYT
@ParallaxDimensions-YouTubeYT Жыл бұрын
I’ve been using python for 12 years (I was that nerd 11 year old kid who came from from school and learned to code) and matlab for just above 2 years for my mecheng degree. Goddamn, I cannot express my hate for numpy after extensive use of matlab. Matlab makes vector and matric operations intuitive and an absolute breeze. In comparison, numpy has so many conditions and shit it makes my head hurt when something doesn’t work because the shape is (12,) instead of (12,1)
@Hshjshshjsj72727
@Hshjshshjsj72727 6 ай бұрын
How about octave or scilab
@EvrendenNotlar
@EvrendenNotlar 9 ай бұрын
Octave is a great alternative. Matrix operations are really intiutive in MATLAB.
@canyonrider9
@canyonrider9 4 күн бұрын
I‘ve used both Python and Matlab. For writing numerical code, I do prefer Matlab, but mainly because I‘m used to it. Python is a great alternative if you don’t have access to a license. I prefer Python for everything that extends beyond numerical data. It’s much easier to handle it. The main reason I use Matlab is because of Simulink, Stateflow and Simscape to design controls for real-time implementation. That’s for me the unique selling point. Debugable Simulation environment for your soon to be generated C-Code with all kinds of checks and CI-integration. There aren’t many alternatives to design real time control systems. Especially in Python.
@prashkd7684
@prashkd7684 2 жыл бұрын
I've had this conversation with MATHWORK support team and they're really embedded in this marketing model where they are focused on retaining Big corporates (Boeing , GE etc) and don't give rat's A** about students / Hobbyists. I pay $300 every year for their home license which , functionally speaking, is much inferior to what Python can do for FREE. The only reason I am paying for this license is because MATLAB is quite popular in my industry and I have to keep my MATLAB skills sharp.
@alejandromartinez3475
@alejandromartinez3475 Жыл бұрын
I swear they have a cheaper version, I think I looked into it and the base is like 100 for a perpetual license
@jfabs
@jfabs 9 ай бұрын
You can use MATLAB online for free for a certain number of hours each month.
@randallmcgrath9345
@randallmcgrath9345 Жыл бұрын
Python appears to be the most popular language for Machine learning no doubt, based on job applications ive been reading.
@sinan_islam
@sinan_islam Жыл бұрын
Python is required on job applications not because it is better than Matlab, but because it is more compatible with other software used by commercial companies. Matlab Stats and ML toolbox is more organized and comprehensive than Python's Scikit Learn.
@randallmcgrath9345
@randallmcgrath9345 Жыл бұрын
@@sinan_islam I appreciate you sharing this. Makes sense.
@urnoob5528
@urnoob5528 4 ай бұрын
@@sinan_islam because it s better than matlab not in performance or specification watnot but in actual fuckin user experience, like why did almost everyone still prefers to use windows even when they are told linux is better? only sweats actually use linux, most ppl avoid it if possible, which is not always possible in some cases since it s the only option same thing with matlab, except matlab can totally be replaced for an easier and simpler solution like python god even the matlab language itself is nonsense, im not talking about 1 indexing, but just in everything, everything is fuckin wrong and conforms to little of programming standards, like its verilog trying to be a normal language and ending up being worse than both, at this point i have a higher opinion of verilog than fuckin matlab, cant they just fuckin stick with what everyone already knows? why do they even have to invent a whole nonsense language altogether, even then sticking to c like syntax aint that hard, if they want to change it at least make half the stuff recognizable just look at the memes related to matlab, typically involving a picture of a google search on how to do for loop, so this speaks for many others as well
@stace1967
@stace1967 Жыл бұрын
Valuable info!! Thank you!!
@donharrold1375
@donharrold1375 Жыл бұрын
Octave?
@ameniamerri2005
@ameniamerri2005 2 ай бұрын
Hello Mr. Vincent Stevenson, I am a student from Tunisia, I need your help please. Soon I will graduate. But I have problems with MATLAB simulation, please help me. I am very sad because I can not open the simulation, my project is control tolerant renewable energy recovery systems (wind chain) at the base generator synchronous permanent magnet pentaphase. The purpose is to drive the synchronous generator with pentaphase permanent magnet associated with the MLI rectifier. The MPPT-controlled MLI rectifier. The main purpose is to control the output power. The choice of control is vector control. I did my work on MATLAB SIMUlink. I did the simulation but didn’t get the result. I don’t understand what’s wrong
@Dedurk
@Dedurk Жыл бұрын
I'm a fresh graduate of mechanical engineering and am interested in learning python. Please point me to the right source to learn this freely
@amilkyboi
@amilkyboi 2 жыл бұрын
The workspace environment in MATLAB is by far the thing I miss most when writing code in Python because it essentially acts as a variable debugger. If anyone can suggest a similar system for Python that would be great, but none exist as far as I know. Element-wise operations in MATLAB are more intuitive to me (even though the dot operator syntax is hot garbage) and large matrix operations seem to be considerably faster from my experience coding FEM and FDM solvers from scratch. Python is just better though and I'm fully making the switch. It's free, open-source, and can be used for fun projects on the side in addition to more serious computational work.
@manuelweichelt528
@manuelweichelt528 Жыл бұрын
use interactive mode or jupyter notebooks handling becomes very similar
@danial_amini
@danial_amini Жыл бұрын
@@manuelweichelt528 jupyter notebook has it's own issues & speed problems I think, ipython isn't very ideal if you want speed
@Indonesia01ian
@Indonesia01ian Жыл бұрын
Hi I am new in pyhton. I am mechanical engineering student as well. Do you know what topic should I learn? Thank you
@MikleyL
@MikleyL Жыл бұрын
Spyder is python but has that matlab GUI look ?
@potatomo9609
@potatomo9609 6 ай бұрын
@@MikleyLyeah I use spyder and I love it! It’s lighter and faster than Matlab’s gui, and faster than Jupyter notebook too. I also hate doing things in browser prefers to do it locally. The interface is also really pretty
@robertgriffin30185
@robertgriffin30185 4 ай бұрын
Thanks for sharing your opinion. I'm working on using a tool to design solar systems and one of the courses I looked up had topics on the use of matlab in their curriculum. Given the cost of matlab I think I will lean towards learning python and just apply the concepts using matlab to python. Appreciate your thoughts. 🙏
@akashrana1593
@akashrana1593 2 ай бұрын
Thanks Vincent for sharing your thughts they are really insightful.
@Robo_worrier
@Robo_worrier Жыл бұрын
I'm about to graduate as electrical engineering, so i know python but i don't know what's the option for Simulink.
@hasben0
@hasben0 Жыл бұрын
💯💯💯 agree. I love matlab I hate to see fail, but it feels like that's where it's headed if they don't open it up to more people😔😔
@Gusnake07
@Gusnake07 5 ай бұрын
Thanks for the video, what distro do you recommend? or what platform and editor work better together? Thank you!
@bytecode5834
@bytecode5834 Жыл бұрын
Many thanks for the video
@generalistengineer
@generalistengineer Ай бұрын
I'll be honest: I prefer Matlab. Even though I used Python a lot and multiple other technologies, I always found it a mess to work with most open source packages.
@beenay18
@beenay18 2 ай бұрын
I know excel vba. How does it compare to matlab? Can i just use excel vba without learning matlab.
@QuantumElectrodynamics_
@QuantumElectrodynamics_ 24 күн бұрын
lol?
@benbenameur8429
@benbenameur8429 2 жыл бұрын
Hello I am looking for the equivalent of : arduino.write("X="+str(200)+' ') in matlab .
@bappabain2142
@bappabain2142 8 ай бұрын
popularity comes from ease of use.....windows is easier to use than linux, python is simpler than MATLAB....here comfort matters, not cost.
@hellfridge4736
@hellfridge4736 Жыл бұрын
Currently studying material engineering and I want to know which one is better for me to learn?
@f22asr
@f22asr Жыл бұрын
I’d go matlab first to get used to coding, then python. Based on my experience with both.
@aleempashashaik3318
@aleempashashaik3318 Жыл бұрын
@@f22asr what about Industrial and Systems Engineering ?
@utilizator1701
@utilizator1701 Жыл бұрын
@@aleempashashaik3318 For System Engineering, in college my first programming language was C. Then it was (basic) Matlab. Basic means that we weren't provided with explanations about how arguments are passed, what kind of language Matlab is, how its memory work. In my college I wasn't taught how to program in Python.
@ytusr37837
@ytusr37837 Жыл бұрын
Python
@OskarNendes
@OskarNendes 7 ай бұрын
nice. been using python for a long time. I get a bit pissed off by it being too multidisciplinary, which is both an advantage and a disadvantage. I see Julia as having a great potential as a programming language exactly because of this: it is not mixing the indie and professional world in a single box, and this is why I am learning Julia at the long term... Because... I don't know if you understand me. We start wanting to do a simulation and end writing an app in Flask... Have we missed the point? How far?
@therewereattempts
@therewereattempts 6 ай бұрын
is there anything you cannot do in Python that you do in MATLAB?
@SebastianINTJ
@SebastianINTJ 6 ай бұрын
Simulink. Model based Design. It's a game changer in many industries and Python doesn't have anything comparable
@ankushmajoka1664
@ankushmajoka1664 2 жыл бұрын
Hey Vincent, Hope you are doing well. Just wanted to know your opinion on learning Python as an skill after mechanical engineering. As I am a mechanical engineer and looking for some add on skill for career enhancement. Kindly suggest
@Indonesia01ian
@Indonesia01ian Жыл бұрын
Hi I am new in pyhton. I am mechanical engineering student as well. Do you know what topic should I learn? Thank you
@e.michael4200
@e.michael4200 Жыл бұрын
​​@@Indonesia01ianget the python crash course It's a book It will help you greatly
@mechtorious
@mechtorious Жыл бұрын
@@Indonesia01ian to start with, literally any youtube channel is fine. to be more domain specific, you can just type the topic and find someone already have uploaded a video on that or there would be some github repository. or NPTEL lectures are great for python as a mechanical engineer. I am a MechE and I follow these too. for basics you can go with Mosh hamdani or amigoscode videos. they cover even upto ML concepts. so they are pretty good.
@ankushmajoka1664
@ankushmajoka1664 2 жыл бұрын
Hey Vincent Hope you are doing Well Just wanted to have your opinion that what’s your view on learning Python after mechanical engineering (adding a skill for career enhancement)
@moreywilkerson8378
@moreywilkerson8378 Жыл бұрын
Do it!
@aleempashashaik3318
@aleempashashaik3318 Жыл бұрын
Hello, Thank you for the amazing explanation. My Masters in Industrial and Systems Engineering classes will begin from Aug 2023 and I want to know which skills should I learn?. Thank You.
@gourishnarang4277
@gourishnarang4277 Жыл бұрын
Hey I'm an industrial and production engineering undergrad, can we connect?
@AfifAjjan
@AfifAjjan 3 ай бұрын
I would like to connect as well. Pursuing BSc in IPE
@qwerty_____146
@qwerty_____146 2 жыл бұрын
Thank you Bro. Nice. Thank you.
@MahmoudSalahkhalifa
@MahmoudSalahkhalifa 6 ай бұрын
I am not with your opinion for some reasons, Yes I agree that Python is open source but MATLAB come with a huge advantage for example it is not only about the scripting language but Simulink/Stateflow give a huge advantage over the other candidates you can built a graphical-based control system that is above the high level language call it (High pro max +). so block diagrams are near to the language of mind the way we represent the initial ideas and you can also have a framework to test these ideas Automatically for validation and verification and also you can follow the requirements of your prog and change it flexibly easily and integrate your solution, after that you can generate codes with much lower bugs than hand-based, run it in real time all together, do PIL-HIL and validate your code. that right that MATLAB is really expensive but No one would buy something just because it is a standard but because what the product gives as I guess.
@QuantumElectrodynamics_
@QuantumElectrodynamics_ 24 күн бұрын
a los hombres de verdad nos gusta el código puro y duro, los bloques son para noobs inútiles...
@aidansweeney9909
@aidansweeney9909 4 ай бұрын
I don't understand how someone who is such a champion of open source software can work at Amazon.
@anonymoususer4356
@anonymoususer4356 7 ай бұрын
Thank you!
@shchen7405
@shchen7405 11 ай бұрын
What if Matlab is free? Which is preferable? Python or Matlab?
@jimenezluis33
@jimenezluis33 11 ай бұрын
Depending. I think that Matlab works very well when one writes code about dynamics systems such as computational fluid dynamics, control theory, and any object related with matrix operations. Numpy, scipy and matplotlib are very good alternatives, but I feel that they still lack a lot. The other thing is Simulink, is a power-up of Matlab, one can edit entire systems without write code directly. But if one don't have money to pay the license, well, one must code in python better, because each one of toolboxes of Matlab are very expensive. There is another advantage of Python over Matlab, besides it's open source, free and a language with a good syntax, is that there are libraries such as Pandas well constructed and supported with a big community, and other thousand of libraries of general purpose anywhere. Another thing is Jupyter Notebooks, and I can execute code anywhere, I love it, is better that its equivalent in Matlab. I'm an user of both, but I migrating my efforts to python.
@ILLUSTRON-l5v
@ILLUSTRON-l5v 2 ай бұрын
Great
@dimitrioskalfakis
@dimitrioskalfakis Жыл бұрын
agreed. matlab is a bad habit, an arbitrary, proprietary, non-intuitive industrial garbage. python, at least, is free to use and somewhat more intuitive.
@useruser7176
@useruser7176 Ай бұрын
Well, matlab version can be easily downloaded for free if you have correct link
@edgaravalos
@edgaravalos 2 жыл бұрын
Hi, I made a quick speed test of matlab vs python. Let A, B NxN matrices. Solve the linear problem Ax=B. For N=1000. Matlab is over 20 times faster (using simple backslash) than python using linalg.spsolve. Any comment on this?
@WojciechowskaAnna
@WojciechowskaAnna Жыл бұрын
Try use python with dask libary for matrices "Regular" python may not use the power of multicores in the CPU and that could be reason lower performance
@danial_amini
@danial_amini Жыл бұрын
i was wrestling with the same issue, scipy has some good tools for solving sparse linear systems, but unfortunately they work on a single core, you'd probably have to either stick with matlab or look for more advanced linear algebra libraries for C++ or fortran.
@hasben0
@hasben0 Жыл бұрын
I think its only a matter of time until python outperfors matlab in every aspect. It makes me sad😔
@FLMKane
@FLMKane Жыл бұрын
It's impossible to answer that question without looking at your code unfortunately.
@NavidonYoutube
@NavidonYoutube Жыл бұрын
should wait for Mojo
@user-co1xw7wg6o
@user-co1xw7wg6o Ай бұрын
the reason many refuse to use python is because it is an inferior language
@donharrold1375
@donharrold1375 Жыл бұрын
Matlab is expensive but if you’re an engineer it’s a no brainer
@sinan_islam
@sinan_islam Жыл бұрын
I noticed something guys! Python steals MATLAB ideas, then you find people saying Python is better. This is like Huawei stealing Apple market share after stealing Apple ideas lol.
@WojciechowskaAnna
@WojciechowskaAnna Жыл бұрын
Matlab "stoled/inspired" almost all from Fortran... its an egg or chicken question...
@FLMKane
@FLMKane Жыл бұрын
​@@WojciechowskaAnna MATLAB and Python both use LINPACK for their linear algebra calculations. LINPACK is written in Fortran. Therefore neither MATLAB or python ripped off anything from each other. They just use Fortran libraries in both cases.
@urnoob5528
@urnoob5528 4 ай бұрын
@@FLMKane tell tat to the op smh
@urnoob5528
@urnoob5528 4 ай бұрын
fuck matlab python anyday
Why Mechanical Engineers Should NOT Learn to Code
14:43
Engineering Gone Wild
Рет қаралды 21 М.
Everything You Need to Know About Control Theory
16:08
MATLAB
Рет қаралды 583 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 12 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 11 МЛН
Webinar: Python for MATLAB Users, What You Need to Know
48:23
Enthought
Рет қаралды 54 М.
How I use Python in Structural Engineering
17:27
Connor Ferster
Рет қаралды 48 М.
CS vs ME: The Reason Why I Switched Majors
8:17
John Sorrentino
Рет қаралды 52 М.
Engineering Interns on their first day be like...
9:19
Tamer Shaheen
Рет қаралды 880 М.
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 210 М.
How I Would Learn Python FAST in 2024 (if I could start over)
12:19
Thu Vu data analytics
Рет қаралды 597 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1,2 МЛН
4 Years of Electrical Engineering in 26 Minutes
26:31
Ali the Dazzling
Рет қаралды 1 МЛН
It’s time to move on from Agile Software Development (It's not working)
11:07
Best Mechanical Engineering Skills to Learn
16:05
Engineering Gone Wild
Рет қаралды 239 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 16 МЛН