MATLAB Crash Course for Beginners

Поділитися
Вставка
  • Опубліковано 5 чер 2024
  • Learn the fundametnals of MATLAB in this tutorial for engineers, scientists, and students. MATLAB is a programming language and software suite used for data analysis, scientific computing, and visualization that is widely used in academia and industry.
    ✏️ Course from Phillip Parisi. Check out his channel: / philsbeginnercode
    This course on Phillip's channel: • Complete MATLAB Beginn...
    ⭐️ MATLAB Cheat Sheet ⭐️
    Functions You Should Know • 19 Best Functions in M...
    PDF of All the Basics philparisi.weebly.com/code.html
    ⭐️ Install Matlab ⭐️
    Windows • How to Install MATLAB ...
    Ubuntu Install • How to Install MATLAB ...
    ⭐️ Contents ⭐️
    ⌨️(0:00:00) Intro
    ⌨️(0:00:19) MATLAB IDE
    ⌨️(0:01:33) Variables & Arithmetic
    ⌨️(0:14:19) Matrices, Arrays, & Linear Algebra
    ⌨️(0:24:54) The Index
    ⌨️(0:31:16) Example 1 - Equations
    ⌨️(0:45:09) Anonymous Functions
    ⌨️(0:47:57) Example 2 - Plotting
    ⌨️(1:05:29) Example 3 - Logic
    ⌨️(1:20:24) Example 4 - Random & Loops
    ⌨️(1:26:07) Sections
    ⌨️(1:28:20) For Loops
    ⌨️(1:40:09) Calculation Time
    ⌨️(1:42:57) Naming Conventions
    ⌨️(1:45:09) File Naming
    ⌨️(1:45:54) While Loop
    ⌨️(1:50:16) Custom Function
    ⌨️(1:56:47) Have a good one ;)
    🎉 Thanks to our Champion and Sponsor supporters:
    👾 Nattira Maneerat
    👾 Heather Wcislo
    👾 Serhiy Kalinets
    👾 Erdeniz Unvan
    👾 Justin Hual
    👾 Agustín Kussrow
    👾 Otis Morgan
    --
    Learn to code for free and get a developer job: www.freecodecamp.org
    Read hundreds of articles on programming: freecodecamp.org/news

КОМЕНТАРІ • 295

  • @philparisi_
    @philparisi_ 7 місяців тому +62

    💻🔥Continue your MATLAB learning with weekly programming tutorials on my personal channel 👉 youtube.com/@philparisi_
    Thank you for tuning in and supporting free programming education for all! Have a great week.

    • @beaniies
      @beaniies 6 місяців тому

      Hi 👋 do you have a video on sort, search and insertion?

    • @philparisi_
      @philparisi_ 6 місяців тому

      @@beaniies I'm always happy to make videos viewers recommend! can you send me a message regarding exactly what you are looking for? philsbeginnercode@gmail.com

    • @aswinkrish7667
      @aswinkrish7667 5 місяців тому

      @@beaniies ask bing / gpt yet very helpful

  • @Martin201277
    @Martin201277 Рік тому +305

    The perfect 'faster paced' intro to MatLab. Most other courses are too slow and dull while this one is just the right speed to keep you engaged while managing to keep up.

    • @philparisi_
      @philparisi_ Рік тому +15

      Glad you enjoyed it! Plenty others topics covered on my channel as well.

  • @calebhkelley
    @calebhkelley 6 місяців тому +110

    Anyone else notice the embarrasing browser history item at 41:11? Excellent job, Phillip! Lol.

  • @roenbis
    @roenbis Рік тому +162

    Oh man, thank you. You've covered an entire semester's worth of material in two hours. That's great!

    • @philparisi_
      @philparisi_ 7 місяців тому +9

      Happy to help! I post weekly videos covering more topics as well on my channel for those interested!

  • @m.hosseinmahmoodi
    @m.hosseinmahmoodi 3 місяці тому +8

    This was THE best "crash course" that I have watched. It really is a crash course, not a 10-hour tutorial that treats you like someone who never used a computer. This was one of only few Crash Courses that I finished.
    Thank you so much for treating us like an intelligent human being.

  • @sjfrench8034
    @sjfrench8034 8 місяців тому +8

    One of the most senior members of the company that makes MATLAB is my dad, and my mom used to work there too. I came here because sometimes my parents will be talking about what's going on and I have no clue what they're saying. This was easy to understand - I doubt I'll be adding anything intellectual to any conversations but now maybe at least I won't be nodding along like "mhm mhm I totally get it but I don't think that teddy bear does so could you explain it all again in slightly simpler terms"

  • @user-gm7fu3iv1s
    @user-gm7fu3iv1s 6 місяців тому +6

    This is the best get to go video for learning MATHLAB in a very fast way. I don't I ever gave a comment for any video before but this is gold. Thank you.

  • @gravitysalad7891
    @gravitysalad7891 10 місяців тому +6

    It doesn't really matter and I'm sure someone has already mentioned it, but if anyone's interested the problem at 1:06:25 can be solved by taking the sum of the widths of the intervals and dividing by the length of the total interval. The width of one interval is 2*((pi/2)-arcsin(0.8)) and there are two such intervals, so the percentage of y values > 0.8 is (4*((pi/2)-arcsin(0.8)))/10. A tiny bit more than 25.74% !

  • @thedeadman8361
    @thedeadman8361 11 місяців тому +47

    I can already code in Python and R but I'm needing to do some stuff in MATLAB for my PhD. This was an excellent intro to familiarise myself with the basics of MATLAB. I found I was able to watch it at 2x speed and still keep up. Great stuff!

    • @philparisi_
      @philparisi_ 7 місяців тому +6

      This is great to hear, thank you for tuning in and good luck on your journey!

  • @sundarayerrapragada
    @sundarayerrapragada Рік тому +81

    Most awaited lesson on MATLAB. Thanks a lot for the wonderful dedication to education.

    • @philparisi_
      @philparisi_ Рік тому +4

      Thank you for watching and glad you enjoyed it! Have a great week.

  • @christossymA3A2
    @christossymA3A2 Рік тому +239

    I was searching for copper and freecodecamp posted gold

    • @philparisi_
      @philparisi_ Рік тому +6

      🤗🤗 thank you for watching!

    • @stephikebudu
      @stephikebudu Рік тому

      My exact thought!

    • @abdullahahmed1673
      @abdullahahmed1673 Рік тому +5

      @@philparisi_ you did this?! i can't thank you enough for this video, i have an exam in a week about Matlap and you sir saved me, thank you very very much

    • @hamza-cult
      @hamza-cult 3 місяці тому

      I thought you were talking about Minecraft 😅

  • @Jay.xshgoel
    @Jay.xshgoel 2 місяці тому +55

    Why do i even go to college

  • @Ragnarok540
    @Ragnarok540 Рік тому +9

    The fun thing about Matlab is that pretty much everything here will apply to the open source alternative, Octave.

  • @raulcasquinha
    @raulcasquinha Рік тому +8

    I absolutely love every free code camp course, thank you for all the great tips

  • @bishnudev1760
    @bishnudev1760 Рік тому +23

    Most awaited course. Thank you ❤️

    • @philparisi_
      @philparisi_ 7 місяців тому

      🙏🙏🙏 you are very welcome, thank you for supporting open programming education

  • @benoitgauthier6089
    @benoitgauthier6089 Рік тому +9

    You are amazing at this! Thank you so much for this great tutorial. The pace is perfect, the examples are very instructive and the amount of stuff covered in less than two hours is impressive!

    • @philparisi_
      @philparisi_ Рік тому

      Thank you for tuning in and glad it was worth your time :) plenty more videos on my channel if you are interested!

  • @adieodds
    @adieodds 11 місяців тому +6

    It was a great journey! Thank you for a great delivery and simple explanations and thanks for not making us feel stupid 😄

  • @Asta-7a-Vista
    @Asta-7a-Vista Рік тому +5

    Very clear order of explanation of the material! Please continue to create courses in the future. Thank you.

  • @PR03
    @PR03 Рік тому +15

    Thanks for your great explanations, dear Phil. I just wanted to refresh my knowledge on Matlab but I should confess I've learned a lot .

    • @philparisi_
      @philparisi_ 7 місяців тому

      Woohoo awesome :) check out my personal channel for weekly MATLAB videos, too!

  • @robertoprestigiacomo253
    @robertoprestigiacomo253 Рік тому +11

    Sometimes I miss Matlab. It reminds me of the time when I was a student.
    Realistically, once you're out of university, nobody cares about it and almost no company wants to pay for subscriptions when they can do the same things for free in Python, but for students this must be gold.

    • @anotheperspective
      @anotheperspective Рік тому

      Thanks very much for this. I am in the dilemma of what application should i learn and carry out data analysis for my thesis on. My supervisor asked me to use Matlab, not python because many persons are using it already. Which other platform can you recommend for machine learning aside these two please?

    • @robertoprestigiacomo253
      @robertoprestigiacomo253 Рік тому

      @@anotheperspective To complete data analysis tasks it doesn't really matter what you use. If you use Python for data analysis, you'll have to use the library Numpy (among other libraries) which works exactly like Matlab in the way it treats numbers and does calculation with matrices internally. Remember though that after you graduate and your Matlab student license expires and if you want to continue using it, it's not free and literally NOBODY uses it, whereas Python is free and required almost everywhere professionally.
      I think your supervisor refers to the academic world when he says "many persons". Nevertheless, I don't know your situation, if your supervisor means that there's some code written by others in your department that you can use, then it makes sense to go for Matlab. In general I'd trust my supervisor and use Matlab and don't worry about choosing because as I said, it's pretty easy to switch between Matlab and Python for data analysis. In Python there's even a IDE (Spyder) that has an interface that looks exactly like Matlab.
      I've never used Matlab for machine learning so I'm not familiar with its AI packages. Python is probably the most used tool for ML so you'll find tons of material on that. I don't know about Matlab. I'm not an expert in ML, so I don't know other options and how they compare to each other but for a thesis work I think Python or MAtlab are more than suitable options.

    • @Bobcoolyoung
      @Bobcoolyoung Рік тому

      @@anotheperspective JavaScript is good as well for Machine Learning. Though the main programming language used together with Machine Learning in the world today is Python.

  • @paulatapus2905
    @paulatapus2905 9 місяців тому +10

    This video was so helpful and engaging. I got through the entire 2 hours and it was completely worth it. As someone who had to prior knowledge of MATLAB, he made it extremely easy to follow. Thank you so much for putting this video out!

  • @simonnjoroge
    @simonnjoroge Рік тому +4

    Thank you so much for this, couldn't have come a a better time.

  • @HouseTre007
    @HouseTre007 5 місяців тому +3

    This video is a great review for engineering students to watch at the end of their analysis and systems dynamics courses. You're an excellent teacher!

  • @stefy2647
    @stefy2647 Рік тому

    Been waiting for this. Thank you

  • @Mbhargavkashyap
    @Mbhargavkashyap Рік тому +1

    This is the pure gold! Loved it!

  • @mayastiefel9487
    @mayastiefel9487 11 місяців тому +6

    Really great video for beginners! Definitely gave me a good start to MATLAB and I can't wait to continue to learn

    • @philparisi_
      @philparisi_ 7 місяців тому

      Thanks for tuning in! New MATLAB videos weekly on my personal channel :)

  • @Vid4050
    @Vid4050 4 місяці тому +4

    1:29:40 hit me deep in my heart man.

  • @sagarpuri7838
    @sagarpuri7838 Рік тому +2

    Long awaited for this one.

  • @mrabanoob
    @mrabanoob Рік тому +4

    A course on node expressjs with postgresql would really be appreciated, I've been really struggling finding a good course with them

  • @stanleyconnor6898
    @stanleyconnor6898 Рік тому +2

    Thanks guys for the decent free education!

  • @pritampatil4669
    @pritampatil4669 10 місяців тому +1

    Best MATLAB Crash Course on YT !

  • @Hesam_tajik
    @Hesam_tajik 2 місяці тому

    Nice
    I’m studying data analytics and I shared your videos to all the students and my friends.
    Thank you for your efforts.

  • @sarab297
    @sarab297 10 місяців тому +1

    Thank you for this easy-to-understand tutorial !

  • @dharanidharsoma
    @dharanidharsoma Рік тому +1

    yay i was waiting for it from a very long time finally

  • @user-Muhannad_Emad
    @user-Muhannad_Emad Місяць тому

    عمل رائع جدا فصل دراسي كامل في ساعتين والكثير من المعلومات المهمة جدا
    انك عبقري جدا ❤❤❤❤

  • @jakubpika
    @jakubpika Рік тому +1

    so nice to see your videos again! thanks!

    • @jakubpika
      @jakubpika Рік тому

      @whatapp①②⓪③⑤④⑧⓪⑦⑧⑥ I dont see your number bro

  • @VikasVerma-bq1qy
    @VikasVerma-bq1qy Рік тому +2

    Thank you very much for making this course

  • @GEERTIOHULST
    @GEERTIOHULST 2 місяці тому

    Thank you so much! I needed this because I'm taking a course outside of my regular study programme which requires some matlab knowledge, and this helped me get started!!

  • @MultiPtest
    @MultiPtest Рік тому +2

    Valuable information!!!!! Thanks

  • @bubblelaber4909
    @bubblelaber4909 Рік тому +1

    I sooooo much needed this 😭

  • @usernameisamyth
    @usernameisamyth 3 місяці тому +1

    thanks man... almost half way through!!!

  • @keegangovender3945
    @keegangovender3945 Рік тому +2

    Thank you for this! Really helped me understand how to use MATLAB. Can I make a request to use Simulink and MATLAB together.

  • @AbubakarLawal-hp3bn
    @AbubakarLawal-hp3bn 3 місяці тому +1

    u changed my life i will never forget u much love

  • @ethanholmes5677
    @ethanholmes5677 4 місяці тому

    Excellent tutorial. I have some pre-existing coding knowledge and this was the perfect way for me to get an overall grasp.

  • @vinothkumarr4912
    @vinothkumarr4912 9 місяців тому

    Thanks for the clear explanations, trying the codes in parallel realy helps.

  • @MK-zu1ri
    @MK-zu1ri Рік тому +2

    Thankyou for your great work guys

  • @owaisabdulmoeed7644
    @owaisabdulmoeed7644 6 місяців тому

    Amazing. Thank you for this!

  • @HireHoffee
    @HireHoffee Рік тому +1

    I need to write a diploma using matlab program, and here is your course, thanks

  • @beingfit_
    @beingfit_ 4 місяці тому

    great video. just started my journey with MATLAB with this tutorial

  • @anuragkadam7935
    @anuragkadam7935 9 місяців тому

    Love this video, thanks!!

  • @studyingasyouwere
    @studyingasyouwere Рік тому +28

    I was wondering what the role of MATLAB in the industry these days. MATLAB seems like a great introductory language, but I have not seen it used outside Academia. I learned MATLAB as a student which was fun, but since then I enjoy other languages that are more common bit more. I love this channel by the way. I learned HTML & CSS on this channel and have been making some contents on it. Thank you - always appreciated! 🙌

    • @Tennyson999
      @Tennyson999 Рік тому +1

      no idea. my engineer friends had classes for this. i did a degree in computer and none of the lecturers ever mention matlab.

    • @derstander
      @derstander Рік тому +12

      A datapoint: I use MATLAB daily in my 9-to-5 job as an electrical engineer primarily doing signal processing. In my discipline at my organization, MATLAB is the primary tool although Python (with NumPy) has a small and growing presence.

    • @rezhaadriantanuharja3389
      @rezhaadriantanuharja3389 Рік тому +6

      Mostly signal processing and control system related tasks. Actually, MATLAB is the only approved way to code something in most large corporations like mine (unless you want to use the monstrosity called VBA), since anything low level like C++ or open source like python are usually considered risky.
      Edit: large corporations that are not tech companies

    • @Martin201277
      @Martin201277 Рік тому +9

      We use MatLab exceptionally in aerospace. Calculating/ simulating all the possible outcomes for aerodynamic principles, dynamic loading, thermal management etc. Theres so many variables and complex equations that could not be calculated/ simulated using anything other than programs like MatLab. Well it could, just would take a very, very long time...

    • @miv366
      @miv366 11 місяців тому +2

      Depends on what you want to do, MATLAB is specific to certain industries like automotive and aerospace.
      Production is done only in MATLAB for some engineering applications, either because they are safety critical applications or MATLAB has a capabilities that other tools don't yet have (this edge is probably not going anyway any time soon).
      To answer your question, yes MATLAB and Simulink is still very much used in the industry today and has no proper alternative many of these areas. But if your interest is outside these areas, there not much value learning it. I would research your areas interest to know what tools are relevant.

  • @aesthetictech7403
    @aesthetictech7403 Рік тому +1

    So helpful!

  • @VictorGiustiniPerez_
    @VictorGiustiniPerez_ Рік тому +3

    Amazing Course! Thanks so much! Also love to see Minecraft pinned in the task bar :)

    • @philparisi_
      @philparisi_ 7 місяців тому +1

      the most important application :)

  • @PhotoVideoOrchestra
    @PhotoVideoOrchestra 6 місяців тому

    Great job! Very clear explanations, you helped a lot. Thank you so much.

  • @craftjj
    @craftjj 7 місяців тому +6

    41:11
    Still it's a very helpful and amazing tutorial. Thank you!

  • @arepitas5019
    @arepitas5019 4 місяці тому

    Thank you for this!! Very helpful

  • @A1.b2.c3.d4abcd
    @A1.b2.c3.d4abcd Рік тому +2

    🙏 Many thanks 🥰

  • @kazerzozay
    @kazerzozay Рік тому +1

    Phil channel is great !! Highly recommended!

  • @amirhamza5497
    @amirhamza5497 5 місяців тому

    Too good! Love it!

  • @JoeWasFound1025
    @JoeWasFound1025 8 місяців тому +1

    THE BEST. THANK YOU.

  • @narendramauryaa
    @narendramauryaa Рік тому

    Thanks SIr! Helped a lot.

  • @slownetic6362
    @slownetic6362 5 місяців тому +1

    41:11 search goes crazyy

  • @astrogds2816
    @astrogds2816 3 дні тому

    Thank you ! This is very useful

  • @mrunmaigaikwad5544
    @mrunmaigaikwad5544 6 місяців тому

    Thank you so much for this wonderful crash course. it was very detailed and easy to understand

  • @Falco8649
    @Falco8649 3 місяці тому

    a wonderful video, i was able to understand everything you said which is unlike any other video i've seen so far

  • @laygupta3995
    @laygupta3995 7 місяців тому

    This was a great help.
    Best way to let your fear of matlab go away❤

  • @johnflanagan6367
    @johnflanagan6367 4 місяці тому

    Excellent video for the fundamentals!

  • @azoozpaaqa8124
    @azoozpaaqa8124 11 місяців тому

    Thank you i didn’t feel the time just fineshed it :)

  • @kushagraagrawal9060
    @kushagraagrawal9060 Рік тому +1

    Awesome video. Waiting for Tableau one

  • @TahmidulAzomSany
    @TahmidulAzomSany 8 місяців тому +1

    Thanks Man.

  • @marcom.88
    @marcom.88 Місяць тому

    Veeery useful!! Thank you!

  • @juansebastiancastaneda3986
    @juansebastiancastaneda3986 6 місяців тому

    this was fire, merci

  • @user-ky6jt2yz4g
    @user-ky6jt2yz4g 5 місяців тому

    Much appreciated , it was too helpful.

  • @user-yl7bc6nd8v
    @user-yl7bc6nd8v 7 місяців тому

    great work !

  • @pythonmathui3057
    @pythonmathui3057 9 місяців тому

    Thanks man 😊

  • @peterwassmuth4014
    @peterwassmuth4014 Місяць тому

    Awesome Thank you for Sharing! 💯✴

  • @endlesscarrow
    @endlesscarrow Рік тому +2

    Nice one

  • @syed_wahid
    @syed_wahid Рік тому +2

    I start learning matlab when I see this video I am 2nd year electrical Engineering student you teaches like a fun 😊

    • @philparisi_
      @philparisi_ Рік тому

      Glad you enjoyed the tutorial Syed! Good luck with your electrical engineering degree.

    • @syed_wahid
      @syed_wahid Рік тому +1

      @@philparisi_ thanks

  • @adityavishwakarma5338
    @adityavishwakarma5338 Рік тому +6

    I really wish this released two months earlier. But, thank you sooo much for this.

    • @BlackiJ11
      @BlackiJ11 Рік тому

      Same here xd

    • @Gayatri_M.
      @Gayatri_M. Рік тому

      Hi do you have any idea about quantitaive matlab need help in the same thank u

  • @user-hc4on6pg1n
    @user-hc4on6pg1n 26 днів тому

    Thank you sm❤

  • @ahmadromman6815
    @ahmadromman6815 Рік тому +1

    no way!! you out did yourself with this guys!!

    • @philparisi_
      @philparisi_ Рік тому +2

      Thank you for watching and glad you enjoyed it!

    • @ahmadromman6815
      @ahmadromman6815 Рік тому +1

      @@philparisi_ I did. I watched it all. It was helpful

  • @sadekelkolei
    @sadekelkolei 22 дні тому

    this cours covered so much , it was clear and easy to follow , thank you so much

  • @SuperYtc1
    @SuperYtc1 7 місяців тому

    1:48:00 I've never heard someone's computer in the background actually dying when this is demonstrated. XD This is the perfect demonstration of infinite while loops.

  • @infusionx
    @infusionx Рік тому

    You Power of Me is highest. Haha thanks for great lessons : )

  • @bruny4194
    @bruny4194 Рік тому +3

    Just today morning I had one of a few exams in Matlab.. wish this vid came few days earlier 😅😅 Great job anyway!

    • @spidvolem8276
      @spidvolem8276 Рік тому

      Same lol

    • @philparisi_
      @philparisi_ Рік тому +1

      Sorry this came after your big exam! The course has been live on my channel for a year. I publish other tutorials there if you are interested - ua-cam.com/users/philsbeginnercode

  • @DeepakGupta-uv1oh
    @DeepakGupta-uv1oh 2 місяці тому

    thanks for the video

  • @jubaidhasan7160
    @jubaidhasan7160 7 місяців тому

    Thank you so muchhhhh❤❤❤❤

  • @mattias3668
    @mattias3668 Рік тому

    1:12:10: Actually, ~ is just to the left of the upper part of Enter, and must be combined with AltGr and followed by the Space or the same key combination. Looking at a British keyboard, it is just to the left of the lower part of Enter (combined with Shift). I guess, not everyone is an American.

  • @ahlamouldkhesal5562
    @ahlamouldkhesal5562 3 місяці тому

    very simple explanation and straight to the point really loved it ^^

  • @BestProductsToUse
    @BestProductsToUse Рік тому

    thanks man

  • @muhammadaccama133
    @muhammadaccama133 3 місяці тому

    Amazing course, learned alot

  • @fireghost3359
    @fireghost3359 Рік тому +1

    i need more advanced stuff than this now but this is gold for a beginner btw

    • @philparisi_
      @philparisi_ 7 місяців тому

      Glad you liked my crash course! I am developing a playlist of intermediate tutorials that you may be interested in: ua-cam.com/play/PLsLSMBRXdWJabi2kPXvmx2mYjAxIxGPRM.html

  • @SuperYtc1
    @SuperYtc1 7 місяців тому

    48 mins so far, and it's really good. Nice work.

    • @SuperYtc1
      @SuperYtc1 7 місяців тому

      Completed. Decent intro to MATLAB.

  • @kishorep4467
    @kishorep4467 3 місяці тому

    Superb vedio ... It was very useful to the beginners...thanks a lot

  • @GastroenterologyPINNs
    @GastroenterologyPINNs 7 місяців тому

    Thank you 🥺

  • @PranjalEce
    @PranjalEce 8 місяців тому +1

    thankyouuuuuuu soooooo soooo much

  • @rafaelgomes9638
    @rafaelgomes9638 7 місяців тому

    thanks you re the best

  • @IsYitzach
    @IsYitzach 2 місяці тому

    1:42:00 The difference between the two methods is a common problem in scripted languages. Mathematica and Python do the same kind of thing. As a general rule of thumb, the more specialized the method used, the more likely it is to run quickly as it will make fewer calls to compiled code. If MATLAB could be compiled, both of those would ran in around 4 ms instead of 4 ms and 45 ms.

  • @ln8416
    @ln8416 Місяць тому

    Best intro out there

  • @Tycy2014
    @Tycy2014 Рік тому

    watching this i feel like screaming unlimited power!!!!!