MATLAB Crash Course for Beginners

Sdílet
Vložit
  • čas přidán 24. 07. 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

Komentáře • 316

  • @philparisi_
    @philparisi_ Před 9 měsíci +70

    💻🔥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 Před 8 měsíci

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

    • @philparisi_
      @philparisi_ Před 8 měsíci

      @@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 Před 7 měsíci

      @@beaniies ask bing / gpt yet very helpful

  • @Martin201277
    @Martin201277 Před rokem +329

    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_ Před rokem +15

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

  • @m.hosseinmahmoodi
    @m.hosseinmahmoodi Před 4 měsíci +23

    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.

  • @roenbis
    @roenbis Před rokem +175

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

    • @philparisi_
      @philparisi_ Před 9 měsíci +9

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

  • @calebhkelley
    @calebhkelley Před 7 měsíci +139

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

  • @user-gm7fu3iv1s
    @user-gm7fu3iv1s Před 7 měsíci +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.

  • @sjfrench8034
    @sjfrench8034 Před 10 měsíci +10

    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"

  • @sundarayerrapragada
    @sundarayerrapragada Před rokem +82

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

    • @philparisi_
      @philparisi_ Před rokem +4

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

  • @thedeadman8361
    @thedeadman8361 Před rokem +49

    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_ Před 9 měsíci +6

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

  • @Jay.xshgoel
    @Jay.xshgoel Před 4 měsíci +113

    Why do i even go to college

  • @raulcasquinha
    @raulcasquinha Před rokem +8

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

  • @benoitgauthier6089
    @benoitgauthier6089 Před rokem +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_ Před rokem

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

  • @Asta-7a-Vista
    @Asta-7a-Vista Před rokem +5

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

  • @christossymA3A2
    @christossymA3A2 Před rokem +249

    I was searching for copper and freecodecamp posted gold

    • @philparisi_
      @philparisi_ Před rokem +8

      🤗🤗 thank you for watching!

    • @stephikebudu
      @stephikebudu Před rokem

      My exact thought!

    • @abdullahahmed1673
      @abdullahahmed1673 Před rokem +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 Před 4 měsíci

      I thought you were talking about Minecraft 😅

  • @adieodds
    @adieodds Před rokem +6

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

  • @gravitysalad7891
    @gravitysalad7891 Před rokem +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% !

  • @bishnudev1760
    @bishnudev1760 Před rokem +23

    Most awaited course. Thank you ❤️

    • @philparisi_
      @philparisi_ Před 9 měsíci

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

  • @PR03
    @PR03 Před rokem +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_ Před 9 měsíci

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

  • @simonnjoroge
    @simonnjoroge Před rokem +4

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

  • @paulatapus2905
    @paulatapus2905 Před 10 měsíci +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!

  • @Mbhargavkashyap
    @Mbhargavkashyap Před rokem +1

    This is the pure gold! Loved it!

  • @stefy2647
    @stefy2647 Před rokem

    Been waiting for this. Thank you

  • @HouseTre007
    @HouseTre007 Před 7 měsíci +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!

  • @Ragnarok540
    @Ragnarok540 Před rokem +9

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

  • @user-Muhannad_Emad
    @user-Muhannad_Emad Před 3 měsíci +1

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

  • @mayastiefel9487
    @mayastiefel9487 Před rokem +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_ Před 9 měsíci

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

  • @sarab297
    @sarab297 Před rokem +1

    Thank you for this easy-to-understand tutorial !

  • @VikasVerma-bq1qy
    @VikasVerma-bq1qy Před rokem +2

    Thank you very much for making this course

  • @vinothkumarr4912
    @vinothkumarr4912 Před 11 měsíci

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

  • @jakubpika
    @jakubpika Před rokem +1

    so nice to see your videos again! thanks!

    • @jakubpika
      @jakubpika Před rokem

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

  • @sagarpuri7838
    @sagarpuri7838 Před rokem +2

    Long awaited for this one.

  • @dharanidharsoma
    @dharanidharsoma Před rokem +1

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

  • @owaisabdulmoeed7644
    @owaisabdulmoeed7644 Před 8 měsíci

    Amazing. Thank you for this!

  • @stanleyconnor6898
    @stanleyconnor6898 Před rokem +2

    Thanks guys for the decent free education!

  • @MultiPtest
    @MultiPtest Před rokem +2

    Valuable information!!!!! Thanks

  • @usernameisamyth
    @usernameisamyth Před 5 měsíci +1

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

  • @ethanholmes5677
    @ethanholmes5677 Před 6 měsíci

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

  • @GEERTIOHULST
    @GEERTIOHULST Před 4 měsíci

    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!!

  • @Hesam_tajik
    @Hesam_tajik Před 4 měsíci

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

  • @PhotoVideoOrchestra
    @PhotoVideoOrchestra Před 8 měsíci

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

  • @Babu_bha1
    @Babu_bha1 Před rokem +2

    Thankyou for your great work guys

  • @pritampatil4669
    @pritampatil4669 Před 11 měsíci +1

    Best MATLAB Crash Course on YT !

  • @arepitas5019
    @arepitas5019 Před 5 měsíci

    Thank you for this!! Very helpful

  • @anuragkadam7935
    @anuragkadam7935 Před 10 měsíci

    Love this video, thanks!!

  • @robertoprestigiacomo253
    @robertoprestigiacomo253 Před rokem +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 Před rokem

      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 Před rokem

      @@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 Před rokem

      @@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.

  • @keegangovender3945
    @keegangovender3945 Před rokem +2

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

  • @Aba-abdelmasih
    @Aba-abdelmasih Před rokem +4

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

  • @bubblelaber4909
    @bubblelaber4909 Před rokem +1

    I sooooo much needed this 😭

  • @narendramauryaa
    @narendramauryaa Před rokem

    Thanks SIr! Helped a lot.

  • @beingfit_
    @beingfit_ Před 5 měsíci

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

  • @astrogds2816
    @astrogds2816 Před měsícem

    Thank you ! This is very useful

  • @johnflanagan6367
    @johnflanagan6367 Před 5 měsíci

    Excellent video for the fundamentals!

  • @AbubakarLawal-hp3bn
    @AbubakarLawal-hp3bn Před 5 měsíci +1

    u changed my life i will never forget u much love

  • @mrunmaigaikwad5544
    @mrunmaigaikwad5544 Před 8 měsíci

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

  • @Falco8649
    @Falco8649 Před 4 měsíci

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

  • @oscaralvarezlemus4978
    @oscaralvarezlemus4978 Před 28 dny

    Thank you so much for the video, it's excellent and quite useful!

  • @amirhamza5497
    @amirhamza5497 Před 7 měsíci

    Too good! Love it!

  • @HireHoffee
    @HireHoffee Před rokem +1

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

  • @kushagraagrawal9060
    @kushagraagrawal9060 Před rokem +1

    Awesome video. Waiting for Tableau one

  • @user-ky6jt2yz4g
    @user-ky6jt2yz4g Před 6 měsíci

    Much appreciated , it was too helpful.

  • @peterwassmuth4014
    @peterwassmuth4014 Před 2 měsíci

    Awesome Thank you for Sharing! 💯✴

  • @VictorGiustiniPerez_
    @VictorGiustiniPerez_ Před rokem +3

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

    • @philparisi_
      @philparisi_ Před 9 měsíci +1

      the most important application :)

  • @aesthetictech7403
    @aesthetictech7403 Před rokem +1

    So helpful!

  • @JoeWasFound1025
    @JoeWasFound1025 Před 9 měsíci +1

    THE BEST. THANK YOU.

  • @sadekelkolei
    @sadekelkolei Před 2 měsíci

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

  • @laygupta3995
    @laygupta3995 Před 8 měsíci

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

  • @kazerzozay
    @kazerzozay Před rokem +1

    Phil channel is great !! Highly recommended!

  • @azoozpaaqa8124
    @azoozpaaqa8124 Před rokem

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

  • @A1.b2.c3.d4abcd
    @A1.b2.c3.d4abcd Před rokem +2

    🙏 Many thanks 🥰

  • @marcom.88
    @marcom.88 Před 3 měsíci

    Veeery useful!! Thank you!

  • @user-hc4on6pg1n
    @user-hc4on6pg1n Před 2 měsíci

    Thank you sm❤

  • @ahlamouldkhesal5562
    @ahlamouldkhesal5562 Před 5 měsíci

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

  • @mehrdadbaniesmaeil8503
    @mehrdadbaniesmaeil8503 Před měsícem

    Thank you so much for your valuable education.

  • @juansebastiancastaneda3986
    @juansebastiancastaneda3986 Před 8 měsíci

    this was fire, merci

  • @muhammadaccama133
    @muhammadaccama133 Před 5 měsíci

    Amazing course, learned alot

  • @infusionx
    @infusionx Před rokem

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

  • @TahmidulAzomSany
    @TahmidulAzomSany Před 10 měsíci +1

    Thanks Man.

  • @pythonmathui3057
    @pythonmathui3057 Před 11 měsíci

    Thanks man 😊

  • @endlesscarrow
    @endlesscarrow Před rokem +2

    Nice one

  • @adityavishwakarma5338
    @adityavishwakarma5338 Před rokem +6

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

    • @BlackiJ11
      @BlackiJ11 Před rokem

      Same here xd

    • @Gayatri_M.
      @Gayatri_M. Před rokem

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

  • @Vid4050
    @Vid4050 Před 6 měsíci +4

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

  • @ahmadromman6815
    @ahmadromman6815 Před rokem +1

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

    • @philparisi_
      @philparisi_ Před rokem +2

      Thank you for watching and glad you enjoyed it!

    • @ahmadromman6815
      @ahmadromman6815 Před rokem +1

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

  • @user-yl7bc6nd8v
    @user-yl7bc6nd8v Před 8 měsíci

    great work !

  • @nperr
    @nperr Před 9 měsíci

    Thank you so muchhhhh❤❤❤❤

  • @studyingasyouwere
    @studyingasyouwere Před rokem +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 Před rokem +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 Před rokem +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 Před rokem +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 Před rokem +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 Před rokem +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.

  • @SuperYtc1
    @SuperYtc1 Před 8 měsíci

    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.

  • @kishorep4467
    @kishorep4467 Před 5 měsíci

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

  • @SuperYtc1
    @SuperYtc1 Před 8 měsíci

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

    • @SuperYtc1
      @SuperYtc1 Před 8 měsíci

      Completed. Decent intro to MATLAB.

  • @BestProductsToUse
    @BestProductsToUse Před rokem

    thanks man

  • @DeepakGupta-uv1oh
    @DeepakGupta-uv1oh Před 4 měsíci

    thanks for the video

  • @fireghost3359
    @fireghost3359 Před rokem +1

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

    • @philparisi_
      @philparisi_ Před 9 měsíci

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

  • @mattias3668
    @mattias3668 Před rokem

    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.

  • @mylavarapukishore5828
    @mylavarapukishore5828 Před měsícem

    Great lecture 🎉

  • @bruny4194
    @bruny4194 Před rokem +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 Před rokem

      Same lol

    • @philparisi_
      @philparisi_ Před rokem +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 - czcams.com/users/philsbeginnercode

  • @ln8416
    @ln8416 Před 3 měsíci

    Best intro out there

  • @syed_wahid
    @syed_wahid Před rokem +2

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

    • @philparisi_
      @philparisi_ Před rokem

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

    • @syed_wahid
      @syed_wahid Před rokem +1

      @@philparisi_ thanks

  • @user-cz5vr8dl2e
    @user-cz5vr8dl2e Před rokem +1

    a very good needed lesson for matlab🤤thank you so much

    • @philparisi_
      @philparisi_ Před 9 měsíci

      you are very welcome :) more MATLAB videos on my personal channel as well if you are interested!

  • @supercoder4863
    @supercoder4863 Před rokem +2

    Can you make a Powershell scripting tutorial?
    Like the Powershell in windows (preferably Powershell 7).

  • @Tycy2014
    @Tycy2014 Před rokem

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

  • @PranjalEce
    @PranjalEce Před 9 měsíci +1

    thankyouuuuuuu soooooo soooo much