Тёмный

MATLAB vs Python for Engineers 

Vincent Stevenson
Подписаться 18 тыс.
Просмотров 46 тыс.
50% 1

I talk about my experience in college and in my professional career developing code for MATLAB and Python. I discuss the pros and cons of each option, and give my recommendation as to which one I would have preferred to have focused on.

Наука

Опубликовано:

 

6 авг 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 69   
@m_a_s6069
@m_a_s6069 4 месяца назад
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).
@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 Месяц назад
@@McFlashhI’m curious too
@hussrizkk
@hussrizkk Месяц назад
@@McFlashh he might mean BS in chemical engineering
@stace1967
@stace1967 10 месяцев назад
Valuable info!! Thank you!!
@ParallaxDimensions-YouTubeYT
@ParallaxDimensions-YouTubeYT 9 месяцев назад
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 Месяц назад
How about octave or scilab
@SelectHawk
@SelectHawk Год назад
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
@altair4178
@altair4178 3 месяца назад
@@revifikri9609did you figure it out?
@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😔😔
@bytecode5834
@bytecode5834 Год назад
Many thanks for the video
@qwerty_____146
@qwerty_____146 Год назад
Thank you Bro. Nice. Thank you.
@EvrendenNotlar
@EvrendenNotlar 4 месяца назад
Octave is a great alternative. Matrix operations are really intiutive in MATLAB.
@anonymoususer4356
@anonymoususer4356 2 месяца назад
Thank you!
@benbenameur8429
@benbenameur8429 Год назад
Hello I am looking for the equivalent of : arduino.write("X="+str(200)+' ') in matlab .
@diwakarsingh8302
@diwakarsingh8302 Год назад
I'm about to graduate as electrical engineering, so i know python but i don't know what's the option for Simulink.
@Gusnake07
@Gusnake07 25 дней назад
Thanks for the video, what distro do you recommend? or what platform and editor work better together? Thank you!
@ankushmajoka1664
@ankushmajoka1664 Год назад
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 8 месяцев назад
Do it!
@prashkd7684
@prashkd7684 Год назад
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 4 месяца назад
You can use MATLAB online for free for a certain number of hours each month.
@ankushmajoka1664
@ankushmajoka1664 Год назад
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
@rahadyanmuhammad271
@rahadyanmuhammad271 11 месяцев назад
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 11 месяцев назад
​​@@rahadyanmuhammad271get the python crash course It's a book It will help you greatly
@mechtorious
@mechtorious 10 месяцев назад
@@rahadyanmuhammad271 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.
@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.
@donharrold1375
@donharrold1375 11 месяцев назад
Octave?
@OskarNendes
@OskarNendes 2 месяца назад
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?
@amilkyboi
@amilkyboi Год назад
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
@rahadyanmuhammad271
@rahadyanmuhammad271 11 месяцев назад
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 7 месяцев назад
Spyder is python but has that matlab GUI look ?
@potatomo9609
@potatomo9609 Месяц назад
@@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
@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
@B_T.E.A.M.
@B_T.E.A.M. Год назад
RU-vid
@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.
@stevenhansen2824
@stevenhansen2824 11 месяцев назад
Python
@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?
@shchen7405
@shchen7405 6 месяцев назад
What if Matlab is free? Which is preferable? Python or Matlab?
@jimenezluis33
@jimenezluis33 6 месяцев назад
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.
@therewereattempts
@therewereattempts Месяц назад
is there anything you cannot do in Python that you do in MATLAB?
@SebastianINTJ
@SebastianINTJ Месяц назад
Simulink. Model based Design. It's a game changer in many industries and Python doesn't have anything comparable
@MahmoudSalahkhalifa
@MahmoudSalahkhalifa Месяц назад
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.
@donharrold1375
@donharrold1375 10 месяцев назад
Matlab is expensive but if you’re an engineer it’s a no brainer
@bappabain2142
@bappabain2142 3 месяца назад
popularity comes from ease of use.....windows is easier to use than linux, python is simpler than MATLAB....here comfort matters, not cost.
@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.
@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.
@edgaravalos
@edgaravalos Год назад
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
Далее
What Software do Mechanical Engineers NEED to Know?
14:21
The Truth About Learning Python in 2024
9:38
Просмотров 148 тыс.
Косплей на ГОЛОВОЛОМКА 2!
15:20
Просмотров 510 тыс.
Суши из арбуза?!
00:34
Просмотров 715 тыс.
МНЕ ИСПОРТИЛИ МАШИНУ #shorts
00:30
Просмотров 1,1 млн
R vs Python
7:07
Просмотров 310 тыс.
The most important Python script I ever wrote
19:58
Просмотров 165 тыс.
How I use Python in Structural Engineering
17:27
Просмотров 45 тыс.
Best Mechanical Engineering Skills to Learn
16:05
Просмотров 204 тыс.
4 Years of Electrical Engineering in 26 Minutes
26:31
Просмотров 939 тыс.
Python vs Julia
7:10
Просмотров 122 тыс.
Everything You Need to Know About Control Theory
16:08
Просмотров 517 тыс.
How Long Does It Take to Learn Python? (And Get a Job)
9:13
Игровой Комп с Авито за 4500р
1:00