Happy Hannukah, Feliz Las Posadas, Happy St. Lucia's Day, Happy Christmastide, Happy Soyal, Merry Christmas, Happy Boxing Day, Happy Kwanzaa, Happy New Year, Happy Shogatsu, Happy Lohri, and Happy Chinese New Year! Enjoy this full two hour MATLAB course covering all the foundations you need as a beginner!! Cheers!!
Phil you are a great teacher. I'm already 57 mins into this video and not even tired or wanting to take a break, which is very rare. THANK YOU for making MATLAB easy and fun.
Hi Munaza, wow thank you for the glowing review! I hope you have the same energy making it to the end. Best of luck with your Matlab journey and feel free to subscribe (if you haven’t already) as there’s new videos weekly. Currently, an image processing series is being released!! Have a great day!
Thank you so much for making this video!! You are really a great teacher. I have always wanted to start learning matlab but didn't find an easy and good way to do it. With this video, I finally grab a way to start. Thank you!!!
Woohoo!! Glad to hear that Ahmad. Thanks for tuning in. I‘m working on an advanced MATLAB course as well - subscribe to stay tuned if you haven‘t already!
Thank you for the kind words WistWov 🙌🏽 There will be a second course coming soon: “Advanced MATLAB”. Subscribe so you don’t miss it! Have a great week.
Thank you Mobina! I'm glad I could be a part of your transition into the language. Please consider subscribing and check out the weekly uploads! New MATLAB videos every week and I'm always open to suggestions :)
Hi Daniel, thank you for the thoughtful comment! Glad it could help provide a good introduction to MATLAB. There is a whole series on MATLAB Plotting on the channel too if you're interested (pie charts, histograms, 3D plots, scatter plots, bar plots, and so on). Here's the link: th-cam.com/play/PLsLSMBRXdWJapwNJGNm1z3dt-eHz1nQnJ.html
Hi Joe! Thanks for the note. Ironically, I’m doing the reverse (advanced MATLAB user, now learning c++). Matlab is incredibly user friendly in comparison, not needing pointers and datatypes in declarations and so forth. But that also makes Matlab much slower as all numbers are saved as doubles, and function calls typically create copies (pointers and references arent really a thing). Hope you enjoyed it and check out the channel for more!!
@@philparisi_ Yeah I'm noticing MatLab is slower and for that, that's OK. C is fast and loose and you can easily shoot yourself in the foot. So MatLab is a safe environment for most people. I'm mostly prototyping image processing, feature extraction, in MatLab and getting ready to install and use the Deep Learning package. We'll see how that all goes.
@@joescola7498 yes MATLAB is great for prototyping and doing basic calculations where you don't necessarily need C/C++'s immense speedup. Awesome for quick dev. You mentioned image processing - I'm actually deploying a series right now! Weekly uploads on Tuesday, subscribe if you're interested! It's all the basic functions and how to work with images in MATLAB. Here's the link to the playlist of released videos thus far if you're curious! th-cam.com/play/PLsLSMBRXdWJb9aFSCzg4-kl4t97kkJmXV.html
Thank you Alexa! I appreciate you watching and I wish you well on your MATLAB journey. When you need to do more specific tasks, feel free to check the video description because it is PACKED with useful resources :)
@@homejonny9326 hi Jonny, sure! In general, you would do a simulation to observe something changing over time. For example -- if your system was purely in static equilibrium (like a truss bridge) there wouldn't be much to simulate. But if you had a changing number of cars going over the bridge through time, then you could calculate all the truss beam forces over time due to changing loads. You could do a similar simulation with a mass spring system and show how it reaches static equilibrium. What type of example did you have in mine?
@@homejonny9326 sounds like a blast! In one of my mechE undergrad classes, we would solve all the equations by hand to the end (a final expression for whichever variable of interest) and then could plug that final form into MATLAB. MATLAB's toolboxes are very specific to certain applications, there's no general 'sim' toolbox for what you're looking to do. Of course, there is simulink but that would be more than you're looking for I think. I suggest solving for final forms and then plugging those into MATLAB with initial conditions and letting to system 'run'! Enjoy the journey and don't hesitate to reach out if you want advice on any sims... I could be convinced to make a video on a specific example :)
Phil you are a lifesaver, l am a 3rd year engineering sudent and we did matlab the first semester but l did not understand it at all but now, l am enjoying coding on my own even without any assignment. Your work has helped me a lot because almost every course we take we have to use matlab in some sort of way, either presentations of results or something. l have already subscribed and turned on my notification bell. Thank you very much and l dont know if you have uploaded somewhere how to code Linear and non-linear equations- Arithmetic Methods using Newton Raphson Method and Gauss method
Hi Dylan, thank you so much for the kind message. Could you email at philsbeginnercode@gmail.com and tell me more about the math problems you mentioned?
You are AWESOME YJ! Thank you for tuning in. I have an advanced tutorial coming out in a couple months - subscribe to get the notification if you are interested :)
Awww haha thank you SnowKaire, what a sweet comment :D Glad you enjoyed it!! Definitely checkout the rest of the channel if you’re interested, there’s an image processing series coming out in June, a plotting and graphs series that is nearly finished… new content every Tuesday!! Thank you and have a great day!
Any plans for a simulink tutorial? Would love to use it for talking to hardware! Like auto-generating/deploying algorithms on an FPGA, or Microcontroller then running a Hardware/Processor-In-The-Loop to optimize a PID control loop. Or use a USB to Can-Bus to do canbus applications (ex. CanOpen). And create user GUIs so that the end user doesn't need to do everything via command-line. BTW, any thoughts how the Matlab's algorithms for object detection, compare to open source alternatives (OpenCV, tensorflow, etc)?
Hi Ben, nothing in the pipeline for SimuLink yet, admittedly I haven’t used it much in my line of work. MATLAB GUIs will definitely be a topic covered soon. Regarding MATLAB vs OpenCV… there’s different schools of thought and varying opinion. Your biggest choice here is if you want/need to integrate with other languages and systems opencv is probably more ‘accessible’ in that regard whereas MATLAB stays in MATLAB land (though this is also improving with python integration and so forth). Also, if you are doing a very specific task that requires a function that only one platform has, that’ll choose your platform for you haha. Lastly, MATLAB will likely be easier to use out of the box and has better documentstion. Opencv has a poor history of ill-managed versions, naming conflicts, etc etc and I’ve never heard someone say “OpenCV is great”.
Hi Tasnim, thank you for tuning in! Always trying to make the best MATLAB tutorials 👍🏽 Great content coming out soon - subscribe to come along for the ride!
Wow!! You’re a great teacher and very charismatic with the way you teach. Thank you so much! Wondering if you have any videos on simulations and modeling in Matlab. I’ll search around 😀🙌
Hi Neha, I am flattered by your compliments, thank you! Glad you enjoyed the learning experience. The closest thing I have will be in this playlist th-cam.com/play/PLsLSMBRXdWJabi2kPXvmx2mYjAxIxGPRM.html&EJGixIgBCJiu2KjB4oSJEQ Can you provide an example of what simulation you are interested in? Dice Roll Simulation th-cam.com/video/Kn9CpUqzt2o/w-d-xo.html Fractal Geometry Simulation th-cam.com/video/dZbQ5rIms4k/w-d-xo.html Monte Carlo Integration Simulation studio.th-cam.com/users/videoJwRTKQyFSjA/edit
@@philparisi_ Thank you for the links! I’ll be sure to check them out 🙌 I’ll be starting a new position as a modeling/simulation engineer. I’m not sure what to prepare other than what they told me (Matlab and Python). As someone who doesn’t have extensive programming experience, do you think I should maybe look up some Matlab Simulink vids?
Neha, check out this page www.mathworks.com/discovery/modeling-and-simulation.html and yes, you will probably be using simulink if the company is doing any controls or sensor feedback.
Hi Hawwinee, thank you for the complement! You will start by reducing the complex derivatives in Fick's Second Law to analytical equations. You probably have some initial conditions and equations to work with. Then, program those equations into matlab using functions (shown at the end of this video). If you need to calculate values over time, you will want to use a for loop to imitate time instances as the substances diffuse. It's otherwise pretty hard to help you as the question asked if very broad. Here are some videos that may help, learn the methods and then apply them to your problem: Custom Functions th-cam.com/video/CiNgLRZJWbY/w-d-xo.html For Loop Part 1 th-cam.com/video/w89FMDWUghU/w-d-xo.html For Loop Part 2 th-cam.com/video/RvQCt5xaDC8/w-d-xo.html Analytical vs. Numeric Solutions th-cam.com/video/sYGRquJWfM0/w-d-xo.html Monte Carlo Integration (understand how the for loop is used to perform the iterative updates) th-cam.com/video/JwRTKQyFSjA/w-d-xo.html and look at interesting videos in this playlist th-cam.com/play/PLsLSMBRXdWJabi2kPXvmx2mYjAxIxGPRM.html
Thank you for watching Meow Meow!! Glad I was able to help along your MATLAB journey :) tons of videos on my channel if you’re interested in some more challenging algorithms!
You are absolutely welcome Raouf! If you're interested, definitely check out the channel as I post new MATLAB videos weekly! Have a great day and good luck on you MATLAB journey!
Hi there! Thanks for watching. I recommend two things: 1. Find/pick a project to work on! This is a great way to motivate your learning. 2. Checkout my ‘Intermediate MATLAB’ playlist and see what looks interesting. Videos there are 10-20 minutes and tend to be more project-based. Specifically, my ‘Tank Game’ and ‘Monte Carlo Integration’ and ‘Robust Algortihms’ may be good starters! And definitely brush up on your plotting skills too ;)
😂😂😂 oh my gosh, I re-listened to that and holyyy cow hahahah, must’ve been on hour 5 of recording and was not having it hahahah. Glad you tuned in and thanks for supporting the channel! Good luck with everything 🙌🏽
Hi there, good question! I haven't taken the certificate. Give it a go... and if you need to use ChatGPT to help you make it through ;) Please check in after you take the certification and let us know!
Hi Austine, my apologies for the delayed reply - your comment got help up by TH-cam for some reason. In regards to opengl for MATLAB, I wouldn't recommend developing opengl in MATLAB. Opengl will be removed in a future release of MATLAB, and thus you risk your work becoming 'trapped' in an old release of MATLAB in year to come. See this article -- www.mathworks.com/help/matlab/ref/opengl.html
@@philparisi_ thanks for the reply. That means MATLAB can not explicitly do anything with opengl then? I actually want to implement interactions of water flow with a solid object so I was thinking since most of the implementations would be in MATLAB,it won't be nice doing it all over in another language say java which is strictly typed
@@austineadah2843 Matlab should be able to work with opengl at this time. However, in future Matlab releases, it will not be supported. Hence, if you want to use opengl - go for it - but do not update your Matlab software. If you google search ‘matlab opengl’ you can find help on usage.
Awesome! Thanks for watching Rostam. There’s new videos every week and an image processing series coming out in June, stay tuned for more if you’re interested :D
@@rostamr4096 wow this is great to hear!! Thank you for taking the time to comment. I have a Patreon too if you want to join the journey (I'm still seeking my first Patron :D). www.patreon.com/philsbeginnercode Regardless, happy to have you as a student :)
Hi Shantanu - thank you for taking the time to comment :) glad you benefited from the video. I'm hoping to do a 'chapter 2 - intermediate matlab' in this style in the coming months!
Hi there, while I don’t have a video on this I suggest using ChatGPT! Simply google them, make a free acount, then copy+paste your code and ask it convert your matlab code into whatever language you want!
Hi there! You can email me at philsbeginnercode@gmail.com and I’ll try to point you in the right direction. For projects that require more work, I have a Patreon page you can contribute to for support (patreon.com/philparisi_)
You are very welcome Qj! Thank you for watching :) Feel free to let me know what else you’d like to learn and I’ll either point you to existing content or develop new content!
Hi Oyshi, be that the command window is visible as the outputs to a function go there. If it is not visible, you may need to resize the sections on your screen to see it. Or, go to the top toolbar, Home -> Layout -> Default.
Lord forgive me for I have sin. 20 years journey of saving myself for marriage. Today is the day I decide to make love for the first time. thank you Phil Beginner Code for this gorgeous lana rhodes of a video.
Good morning sir, I'm looking join any private space startups.. I want to know that is Matlab alone enough to get a job or do I have to learn anything along with it?! Please let me know that.. I'm actively searching for job.. thanks in advance..
Hi there, the best way to prepare for any job is to look up the requirements of the job you find most interesting and then target the exact requirements. In general, MATLAB is a great language to know. I’d also recommend C++ (if you plan to work on embedded systems) and Python. Additionally, you may look into 3D CAD software, FEA (finite element method), and CFD (computational fluid dynamics). And a BS/MS in aerospace would also be a big help 🤠
Hi there, it’s hard to tell exactly what you need for your application, but here are some things that might help: 1.) the isnan() functions tells you if values are ‘NaN’ www.mathworks.com/help/matlab/ref/isnan.html 2.) if you want to create NaNs, you need to determine the patterns of ‘unwanted data’ and use those the replace specific indices with NaN 3.) not quite your application, but this video shows how to load csv data and clean it (perhaps some lightbulbs will click in your head) th-cam.com/video/UCaJ2b4aKGQ/w-d-xo.html
Hello thanks for your work it's great indeed. What I want to ask you is that is it possible to simulate an enviroment where a couple of numbers of (i.e. 5 or 6) blue and red forces of tanks engaging in a battle and determine who wins at the end? Could you please help me with that?
Hi Ali, yes you can! It takes some cleverness. Let's start with two tanks battle along a 1 Dimensional axis (call it x). You can spawn the tanks in random positions along x and set other initial conditions. Then, you'd develop a couple of simple actions the tank could take. For example, move position in x, move angle of gun, set launch speed, etc. These would be the 'tank actions'. You also need a calculation for 'hitting' the target. Based on the launch speed, angle of the gun, and position in x, you can use the range equation (basic kinematics) to determine where the missile will hit. Then you can define a nearby radius so anything within +/-5% of the missile's landing location counts as a 'hit'. With all those things set, you can run a for loop to simulate 'rounds' of the game. Each round, a tank takes actions and then fires. Then the next tank does the same. You can make it so that the game waits for the user (you) to input actions each loop (i.e. where do you want the tank to move to, angle of gun, launch speed, etc.). Or, you can have those pre-programmed at the start and the actions will be iterated through every loop. You would want to setup the tanks as 'structures' instead of normal variables to keep them cohesive. You would have tankA.angle, tankA.health, tankA.position, tankA.launchspeed and the same for tankB. This way you could keep updating the 'struct' and continue the battle easily. Hope this helps! I have videos on making your own functions, for loops, and structures. I suggest you start with this playlist and then scroll thru my videos for the topics I mentioned th-cam.com/video/EtUCgn3T9eE/w-d-xo.html
@@philparisi_ Hello sir, Thank you for your quick feedback. I think my problem might be much simpler than that because my teacher told me to give each of the tanks a kill rate (i.e kill rate=0.6 for BlueTank which means there is a 60% of chance that BlueTank can destroy the enemy 60 times in every 100 shots) and then make them a shot and wait for the enemy to do so and so on. Example scenerio: TankBlue fires, if it misses he'll wait for 20-30 seconds to fire again but at the same time redTank fires (it also has a kill rate) and after the shot he'll also wait 10-20 seconds (this waiting time can be determined by me) until one of them kills the other. I don't know how to make a decent beginning to this.
@@aliosmanbayir6009 indeed, this is much simpler! Ok, understanding your assumptions: - one hit = one tank destroyed (no health to be lost, simply gets shot and then is done) I suggest you setup a for loop not as rounds as I previously mentioned, but as 'time'. initialize tank_time = 0; before the for loop, then every loop increment tank_time = tank_time + 1; This way you can track time and set flags for when the tanks should shoot. Define the delay time to shoot for both tanks at the start of the script. Then in the for loop, check if tank_time is an even multiple of the delay_time. For example, if tank_time = 40 and tank_delay = 20, then the tank knows to shoot. You can do division and check the remainder :) Then, when it's time for a tank to shoot, you must roll a random variable, you can probably use rand(1) in your case, which will generate a random uniform variable between 0 and 1. You should check if rand_var > 0.6 (or whatever the appropriate threshold is) and if it is true, the game ends (use a break statement to get out of the loop). If the rand_var is < 0.6, the game simply continues on to the next loop. time progresses and the next tank fires when the tank_delay is reached.
Hi Tasnim, I recommend some of MATLAB’s free courseware (not a book exactly, but another way to learn). matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted matlabacademy.mathworks.com/details/matlab-fundamentals/mlbe
Thanks for your quick reply. Can you please make the front size a little big in matlab videos? Inside the comman window. It will be good to look big fronts.
@@philparisi_ I have a computational methods final exam coming up soon for engineering. But the problems are super tough, jus trying to get on that level rn.
@@Beavur best of luck! Here are some advanced topics you may be interested in (they focus more on algorithms and approaches) Monte Carlo Integration th-cam.com/video/JwRTKQyFSjA/w-d-xo.html Fractal Geometry th-cam.com/video/dZbQ5rIms4k/w-d-xo.html Fourier Transform th-cam.com/video/2kvemW3W1Vk/w-d-xo.html Analytical vs. Numerical Solutions th-cam.com/video/sYGRquJWfM0/w-d-xo.html Dice Roll Simulation th-cam.com/video/Kn9CpUqzt2o/w-d-xo.html Convolution th-cam.com/video/hcyy144Gu60/w-d-xo.html
@@philparisi_ hey Phil. I'm going to learn a lot from you mate. I'm running for my PhD and need to learn Matlab. Been watching several videos on TH-cam but yours was the best. Keep the good work man. I'll watch all of your Matlab videos and perhaps anything you'll upload in future. 🌹
@@alimoradi2323 rock on!!! Very exciting and congrats on your pursuit of a PhD. I, too, am making my way through graduate school. If there are specific topics you are looking for, definitely let me know by commenting or posting on the community board of the page. An image processing series debuts next week, too.
@@philparisi_ well, recently, I tried to code the Lagrange equation. But it was a bit confusing. So I downloaded an precoded from Matlab community and I've found it interesting example to analyze and learn from. It would be nice to make a video about it.
Happy Hannukah, Feliz Las Posadas, Happy St. Lucia's Day, Happy Christmastide, Happy Soyal, Merry Christmas, Happy Boxing Day, Happy Kwanzaa, Happy New Year, Happy Shogatsu, Happy Lohri, and Happy Chinese New Year! Enjoy this full two hour MATLAB course covering all the foundations you need as a beginner!! Cheers!!
Happy new year 😊
@@mahadevanar5307 you too!!
Phil you are a great teacher. I'm already 57 mins into this video and not even tired or wanting to take a break, which is very rare. THANK YOU for making MATLAB easy and fun.
Hi Munaza, wow thank you for the glowing review! I hope you have the same energy making it to the end.
Best of luck with your Matlab journey and feel free to subscribe (if you haven’t already) as there’s new videos weekly. Currently, an image processing series is being released!!
Have a great day!
I'm so happy to finally have 10 friends
See, learning to code is finally paying off!
Thank you so much for making this video!! You are really a great teacher. I have always wanted to start learning matlab but didn't find an easy and good way to do it. With this video, I finally grab a way to start. Thank you!!!
Thank you so much for letting me know! Glad this was a great beginning for you. Best of luck along your programming journey!
WOW! I had zero experience with coding and this really made it fun. Thank you so much Phil!!
Woohoo!! Glad to hear that Ahmad. Thanks for tuning in. I‘m working on an advanced MATLAB course as well - subscribe to stay tuned if you haven‘t already!
A quite refresher for me i Once used mathlab on year 2003 on Digital communications II, at Eastern Cape Technikon Butterworth Transkei South Africa.
Great to hear Sithembiso! Welcome back to MATLAB and I wish you great success 🙌🏽
I watched today and gained tons of confidence. Thanks and make long duration tutorials like this...
You are very welcome! I’m currently developing an ‘Advanced MATLAB Course’ - subscribe to get the update when it releases!
The most useful matlab tutorial i've ever seen
Woohooo happy it helped!! Happy programming :)
YOU ARE LEGIT THE BEST TEACHER I HAVE SEEN.
Thank you for the kind words WistWov 🙌🏽
There will be a second course coming soon: “Advanced MATLAB”. Subscribe so you don’t miss it! Have a great week.
great great job sir, I knew nothing about Matlab as a new CS student and this helped more than I was expecting to learn in an hour, thank you so much
Thank you Mobina! I'm glad I could be a part of your transition into the language. Please consider subscribing and check out the weekly uploads! New MATLAB videos every week and I'm always open to suggestions :)
I could do different types of plots after following this great and well-explained tutorial. Thank you very much Phil
Hi Daniel, thank you for the thoughtful comment! Glad it could help provide a good introduction to MATLAB.
There is a whole series on MATLAB Plotting on the channel too if you're interested (pie charts, histograms, 3D plots, scatter plots, bar plots, and so on). Here's the link: th-cam.com/play/PLsLSMBRXdWJapwNJGNm1z3dt-eHz1nQnJ.html
Hi Phil, I'm an advanced C, C#, C++ programmer and I'm enjoying the tour of MatLab very much. Thanks.
Hi Joe! Thanks for the note. Ironically, I’m doing the reverse (advanced MATLAB user, now learning c++). Matlab is incredibly user friendly in comparison, not needing pointers and datatypes in declarations and so forth. But that also makes Matlab much slower as all numbers are saved as doubles, and function calls typically create copies (pointers and references arent really a thing).
Hope you enjoyed it and check out the channel for more!!
@@philparisi_ Yeah I'm noticing MatLab is slower and for that, that's OK. C is fast and loose and you can easily shoot yourself in the foot. So MatLab is a safe environment for most people. I'm mostly prototyping image processing, feature extraction, in MatLab and getting ready to install and use the Deep Learning package. We'll see how that all goes.
@@joescola7498 yes MATLAB is great for prototyping and doing basic calculations where you don't necessarily need C/C++'s immense speedup. Awesome for quick dev.
You mentioned image processing - I'm actually deploying a series right now! Weekly uploads on Tuesday, subscribe if you're interested! It's all the basic functions and how to work with images in MATLAB. Here's the link to the playlist of released videos thus far if you're curious! th-cam.com/play/PLsLSMBRXdWJb9aFSCzg4-kl4t97kkJmXV.html
"After completing this video, should I put my MATLAB experience on my resume?"
This is an awesome tutorial, used it for my internship, thanks so much for making this!
Thank you for the sweet comment! Best of luck with your internship :)
Well done, Phil! This is a great beginner's tutorial and overview of MATLAB. Your hard work is very much appreciated!
Thank you Alexa! I appreciate you watching and I wish you well on your MATLAB journey. When you need to do more specific tasks, feel free to check the video description because it is PACKED with useful resources :)
@@homejonny9326 hi Jonny, sure! In general, you would do a simulation to observe something changing over time.
For example -- if your system was purely in static equilibrium (like a truss bridge) there wouldn't be much to simulate. But if you had a changing number of cars going over the bridge through time, then you could calculate all the truss beam forces over time due to changing loads.
You could do a similar simulation with a mass spring system and show how it reaches static equilibrium.
What type of example did you have in mine?
@@homejonny9326 sounds like a blast! In one of my mechE undergrad classes, we would solve all the equations by hand to the end (a final expression for whichever variable of interest) and then could plug that final form into MATLAB.
MATLAB's toolboxes are very specific to certain applications, there's no general 'sim' toolbox for what you're looking to do. Of course, there is simulink but that would be more than you're looking for I think. I suggest solving for final forms and then plugging those into MATLAB with initial conditions and letting to system 'run'!
Enjoy the journey and don't hesitate to reach out if you want advice on any sims... I could be convinced to make a video on a specific example :)
@@homejonny9326 best of luck! Looking forward to hearing from you.
Phil you are a lifesaver, l am a 3rd year engineering sudent and we did matlab the first semester but l did not understand it at all but now, l am enjoying coding on my own even without any assignment. Your work has helped me a lot because almost every course we take we have to use matlab in some sort of way, either presentations of results or something. l have already subscribed and turned on my notification bell. Thank you very much and l dont know if you have uploaded somewhere how to code Linear and non-linear equations- Arithmetic Methods using Newton Raphson Method and Gauss method
Hi Dylan, thank you so much for the kind message. Could you email at philsbeginnercode@gmail.com and tell me more about the math problems you mentioned?
best beginner level matlab course on you tube
Thank you for the compliment Uddesh! Will be creating a part 2 of this video in a couple months!
this is the best crash course as well as a revision material , thank you so much!!
You are very welcome! Thank you for tuning in :))
Thank you sir ! Your tutorial is AWESOME !!!
You are AWESOME YJ! Thank you for tuning in. I have an advanced tutorial coming out in a couple months - subscribe to get the notification if you are interested :)
thanks for your video - one of your students from Bangladesh........U are a great teacher btw
You are most welcome. Thank you commenting, let me know how I can be of more help to you!
You helped my pass my exam
Woohoo!! Congratulations, glad I could help you :)
Outstanding 😍
My all concept's are clear ✨
Woohoo!! Very happy to hear that :) have a great day!
@@philparisi_
Thanks sir gg
thanks a lot SIR Allah aapko kaamyab kry
You are very welcome! खुशकिस्मती मेरे दोस्त
The best tutorial! And you're so cute saying "no no no" >.
Awww haha thank you SnowKaire, what a sweet comment :D
Glad you enjoyed it!! Definitely checkout the rest of the channel if you’re interested, there’s an image processing series coming out in June, a plotting and graphs series that is nearly finished… new content every Tuesday!!
Thank you and have a great day!
Any plans for a simulink tutorial? Would love to use it for talking to hardware!
Like auto-generating/deploying algorithms on an FPGA, or Microcontroller then running a Hardware/Processor-In-The-Loop to optimize a PID control loop. Or use a USB to Can-Bus to do canbus applications (ex. CanOpen). And create user GUIs so that the end user doesn't need to do everything via command-line.
BTW, any thoughts how the Matlab's algorithms for object detection, compare to open source alternatives (OpenCV, tensorflow, etc)?
Hi Ben, nothing in the pipeline for SimuLink yet, admittedly I haven’t used it much in my line of work.
MATLAB GUIs will definitely be a topic covered soon.
Regarding MATLAB vs OpenCV… there’s different schools of thought and varying opinion. Your biggest choice here is if you want/need to integrate with other languages and systems opencv is probably more ‘accessible’ in that regard whereas MATLAB stays in MATLAB land (though this is also improving with python integration and so forth). Also, if you are doing a very specific task that requires a function that only one platform has, that’ll choose your platform for you haha.
Lastly, MATLAB will likely be easier to use out of the box and has better documentstion. Opencv has a poor history of ill-managed versions, naming conflicts, etc etc and I’ve never heard someone say “OpenCV is great”.
41:20 "Guys the world is your oyster here, take advantage of it"👌💯
😄😄😄 thanks for watching Abdul! I'm thinking of putting out an intermediate level course too - interested??
I appreciate your great commitment sir
Happy to help :)
osmmm Beginner course thank You💖💖
You are very welcome!!
Hi, i am lucky that I found your channel. Keep this good work on. Thanks.
Hi Tasnim, thank you for tuning in! Always trying to make the best MATLAB tutorials 👍🏽
Great content coming out soon - subscribe to come along for the ride!
I have already subscribed. 😊, waiting to see those contents.
Wow!! You’re a great teacher and very charismatic with the way you teach. Thank you so much!
Wondering if you have any videos on simulations and modeling in Matlab. I’ll search around 😀🙌
Hi Neha, I am flattered by your compliments, thank you! Glad you enjoyed the learning experience.
The closest thing I have will be in this playlist th-cam.com/play/PLsLSMBRXdWJabi2kPXvmx2mYjAxIxGPRM.html&EJGixIgBCJiu2KjB4oSJEQ
Can you provide an example of what simulation you are interested in?
Dice Roll Simulation th-cam.com/video/Kn9CpUqzt2o/w-d-xo.html
Fractal Geometry Simulation
th-cam.com/video/dZbQ5rIms4k/w-d-xo.html
Monte Carlo Integration Simulation
studio.th-cam.com/users/videoJwRTKQyFSjA/edit
@@philparisi_ Thank you for the links! I’ll be sure to check them out 🙌
I’ll be starting a new position as a modeling/simulation engineer. I’m not sure what to prepare other than what they told me (Matlab and Python). As someone who doesn’t have extensive programming experience, do you think I should maybe look up some Matlab Simulink vids?
Neha, check out this page www.mathworks.com/discovery/modeling-and-simulation.html and yes, you will probably be using simulink if the company is doing any controls or sensor feedback.
@@philparisi_ Perfect!! Thank you 😀🙏
Sure thing, feel free to reach out again in the future if you need anything!
You are the best Phil
Ah thank you! I really appreciate that. I’m working on an advanced course, definitely subscribe if you want an update when it comes out!
Wow your a fantastic teacher! How Fick`s second law of diffusion is calculate?
Hi Hawwinee, thank you for the complement!
You will start by reducing the complex derivatives in Fick's Second Law to analytical equations. You probably have some initial conditions and equations to work with.
Then, program those equations into matlab using functions (shown at the end of this video). If you need to calculate values over time, you will want to use a for loop to imitate time instances as the substances diffuse.
It's otherwise pretty hard to help you as the question asked if very broad.
Here are some videos that may help, learn the methods and then apply them to your problem:
Custom Functions
th-cam.com/video/CiNgLRZJWbY/w-d-xo.html
For Loop Part 1
th-cam.com/video/w89FMDWUghU/w-d-xo.html
For Loop Part 2
th-cam.com/video/RvQCt5xaDC8/w-d-xo.html
Analytical vs. Numeric Solutions th-cam.com/video/sYGRquJWfM0/w-d-xo.html
Monte Carlo Integration (understand how the for loop is used to perform the iterative updates)
th-cam.com/video/JwRTKQyFSjA/w-d-xo.html
and look at interesting videos in this playlist th-cam.com/play/PLsLSMBRXdWJabi2kPXvmx2mYjAxIxGPRM.html
TYSM! I have learned a lot from your videos
Thank you for watching Meow Meow!! Glad I was able to help along your MATLAB journey :) tons of videos on my channel if you’re interested in some more challenging algorithms!
Thank you for your help ❤
You got it :)
Thank you man been a great help !!!
You are very welcome! Thank you for tuning in and supporting the channel :)
Thank you. It was very good start with Matlab
You are absolutely welcome Raouf! If you're interested, definitely check out the channel as I post new MATLAB videos weekly!
Have a great day and good luck on you MATLAB journey!
What should be the next step in learning MATLAB, after having completed this vid ?
Hi there! Thanks for watching. I recommend two things:
1. Find/pick a project to work on! This is a great way to motivate your learning.
2. Checkout my ‘Intermediate MATLAB’ playlist and see what looks interesting. Videos there are 10-20 minutes and tend to be more project-based. Specifically, my ‘Tank Game’ and ‘Monte Carlo Integration’ and ‘Robust Algortihms’ may be good starters! And definitely brush up on your plotting skills too ;)
1:19:49
Emotional damage😂
Thank you for this amazing course ❤
😂😂😂 oh my gosh, I re-listened to that and holyyy cow hahahah, must’ve been on hour 5 of recording and was not having it hahahah.
Glad you tuned in and thanks for supporting the channel! Good luck with everything 🙌🏽
@@philparisi_
Thank you 🌹
And good luck to you 💙
Very nice tutorial. Thank you very much
You are welcome Elchin! Thanks for watching and letting me know :) best of luck with your projects!
Thank you, Phil.
You are very welcome! Thank you for tuning in :)
Is that video enough to get a certificate from MATLAB plateform . Thanks a lot for responding me
Hi there, good question! I haven't taken the certificate. Give it a go... and if you need to use ChatGPT to help you make it through ;)
Please check in after you take the certification and let us know!
Hey! Thanks so much for this video!
Hey! You are very welcome, thanks for watching :)
Helpful video! Also you sound a little like Matt Lanter.
You’re very welcome! And good to know I’ve got options as a voice actor in ‘The Clone Wars’ 🫡
Thanks, it was very helpful
Happy to hear it! Thanks for tuning in and have a great week
Nice video.is there an opengl MATLAB tutorials or something close you could recommend?
Hi Austine, my apologies for the delayed reply - your comment got help up by TH-cam for some reason. In regards to opengl for MATLAB, I wouldn't recommend developing opengl in MATLAB. Opengl will be removed in a future release of MATLAB, and thus you risk your work becoming 'trapped' in an old release of MATLAB in year to come.
See this article -- www.mathworks.com/help/matlab/ref/opengl.html
@@philparisi_ thanks for the reply. That means MATLAB can not explicitly do anything with opengl then?
I actually want to implement interactions of water flow with a solid object so I was thinking since most of the implementations would be in MATLAB,it won't be nice doing it all over in another language say java which is strictly typed
@@austineadah2843 Matlab should be able to work with opengl at this time. However, in future Matlab releases, it will not be supported. Hence, if you want to use opengl - go for it - but do not update your Matlab software.
If you google search ‘matlab opengl’ you can find help on usage.
Great content Phil.
Thank you Matthew! Anything else you would like to see?? A part two??
Stay tuned for Tuesday uploads 👍🏽
Great course! ! !
Thanks for checking it out - good luck with everything!
Thanks for the great intro
Hi Malte, absolutely! Happy you enjoyed it. Have a great rest of the week and let me know if I can ever help along your MATLAB journey.
Thank you, Phil, this is very helpful.
Awesome! Thanks for watching Rostam. There’s new videos every week and an image processing series coming out in June, stay tuned for more if you’re interested :D
@@philparisi_ I have been going through your tutorials in the last few weeks, you have no idea how much you have helped me..Thanks again
@@rostamr4096 wow this is great to hear!! Thank you for taking the time to comment. I have a Patreon too if you want to join the journey (I'm still seeking my first Patron :D). www.patreon.com/philsbeginnercode
Regardless, happy to have you as a student :)
thanks for the video. it helped me a lot.
Hi Shantanu - thank you for taking the time to comment :) glad you benefited from the video. I'm hoping to do a 'chapter 2 - intermediate matlab' in this style in the coming months!
@@philparisi_thanks a lot sir for providing this type of quality content for free.
You got it Shantanu 🙌🏽
Great course
Thank you so much for tuning in, and Happy New Year!
that was really helpful 👌👌
thanks a lot🙏🙏
Hi Amirhossein, thank you for watching and glad it helped! What more would you like to see? Additional sample problems? An advanced course?
41:00
In 2023... using ChatGPT to help
100% yes. Made this video right before chat came out. Will be making content on how to use chatGPT for MATLAB
that was usefull. thanks Man
Glad it helped! In a couple months I’ll be releasing a ‘Advanced MATLAB Course’ - you should subscribe if you’re interested!
Superb explaining 👌
Thank you Itadori!! Happy I could help you :)
Thanks & Respect ☺️
You are undoubtedly the best MATLAB teacher. Thankyou sir.
Most welcome 😊
Hello I just wanna say thank you it was awesome and impressive to me 👌👌👌👌🙌🙌✔✔Danke schon
Bitteschön :))
Can you please help in c code generation using matlab coder plesee
Hi there, while I don’t have a video on this I suggest using ChatGPT! Simply google them, make a free acount, then copy+paste your code and ask it convert your matlab code into whatever language you want!
very informative
Awesome - happy to hear it Quang. Thank you for watching and let me know if you have any questions!
thankyou so much
You are very welcome Ayushi!! Thanks for tuning in.
good day sir , may you assist me with my project.
Hi there! You can email me at philsbeginnercode@gmail.com and I’ll try to point you in the right direction. For projects that require more work, I have a Patreon page you can contribute to for support (patreon.com/philparisi_)
Thanks, really help
Thank you for watching! Glad it helped. New videos are coming out weekly if you wish to continue your learning!!
thank you!
You are very welcome Qj! Thank you for watching :)
Feel free to let me know what else you’d like to learn and I’ll either point you to existing content or develop new content!
Thank you
You are very welcome arshi! Best of luck and feel free to explore the rest of the channel for other topics related to your work!
I cant fine the answe when i write simlp funtion.. Has it changed?how to use now?
Hi Oyshi, be that the command window is visible as the outputs to a function go there. If it is not visible, you may need to resize the sections on your screen to see it. Or, go to the top toolbar, Home -> Layout -> Default.
Lord forgive me for I have sin. 20 years journey of saving myself for marriage. Today is the day I decide to make love for the first time. thank you Phil Beginner Code for this gorgeous lana rhodes of a video.
Well said! Thank you for your kind words.
Good morning sir, I'm looking join any private space startups.. I want to know that is Matlab alone enough to get a job or do I have to learn anything along with it?! Please let me know that.. I'm actively searching for job.. thanks in advance..
Hi there, the best way to prepare for any job is to look up the requirements of the job you find most interesting and then target the exact requirements.
In general, MATLAB is a great language to know. I’d also recommend C++ (if you plan to work on embedded systems) and Python. Additionally, you may look into 3D CAD software, FEA (finite element method), and CFD (computational fluid dynamics). And a BS/MS in aerospace would also be a big help 🤠
@@philparisi_ Thank you so much sir.. you're a down to earth person❤️
Happy to help :) best of luck to you!! And thanks for watching my videos :D
how can I replace the unwanted data by NaN in matlab?
Hi there, it’s hard to tell exactly what you need for your application, but here are some things that might help:
1.) the isnan() functions tells you if values are ‘NaN’ www.mathworks.com/help/matlab/ref/isnan.html
2.) if you want to create NaNs, you need to determine the patterns of ‘unwanted data’ and use those the replace specific indices with NaN
3.) not quite your application, but this video shows how to load csv data and clean it (perhaps some lightbulbs will click in your head) th-cam.com/video/UCaJ2b4aKGQ/w-d-xo.html
@@philparisi_ I appreciate your help
@@tsehayenegash8394 anytime :)
help me download matlab
Hello thanks for your work it's great indeed. What I want to ask you is that is it possible to simulate an enviroment where a couple of numbers of (i.e. 5 or 6) blue and red forces of tanks engaging in a battle and determine who wins at the end? Could you please help me with that?
Hi Ali, yes you can! It takes some cleverness.
Let's start with two tanks battle along a 1 Dimensional axis (call it x). You can spawn the tanks in random positions along x and set other initial conditions.
Then, you'd develop a couple of simple actions the tank could take. For example, move position in x, move angle of gun, set launch speed, etc. These would be the 'tank actions'.
You also need a calculation for 'hitting' the target. Based on the launch speed, angle of the gun, and position in x, you can use the range equation (basic kinematics) to determine where the missile will hit. Then you can define a nearby radius so anything within +/-5% of the missile's landing location counts as a 'hit'.
With all those things set, you can run a for loop to simulate 'rounds' of the game. Each round, a tank takes actions and then fires. Then the next tank does the same. You can make it so that the game waits for the user (you) to input actions each loop (i.e. where do you want the tank to move to, angle of gun, launch speed, etc.). Or, you can have those pre-programmed at the start and the actions will be iterated through every loop.
You would want to setup the tanks as 'structures' instead of normal variables to keep them cohesive. You would have tankA.angle, tankA.health, tankA.position, tankA.launchspeed and the same for tankB. This way you could keep updating the 'struct' and continue the battle easily.
Hope this helps! I have videos on making your own functions, for loops, and structures. I suggest you start with this playlist and then scroll thru my videos for the topics I mentioned
th-cam.com/video/EtUCgn3T9eE/w-d-xo.html
@@philparisi_ Hello sir, Thank you for your quick feedback. I think my problem might be much simpler than that because my teacher told me to give each of the tanks a kill rate (i.e kill rate=0.6 for BlueTank which means there is a 60% of chance that BlueTank can destroy the enemy 60 times in every 100 shots) and then make them a shot and wait for the enemy to do so and so on. Example scenerio: TankBlue fires, if it misses he'll wait for 20-30 seconds to fire again but at the same time redTank fires (it also has a kill rate) and after the shot he'll also wait 10-20 seconds (this waiting time can be determined by me) until one of them kills the other.
I don't know how to make a decent beginning to this.
@@aliosmanbayir6009 indeed, this is much simpler!
Ok, understanding your assumptions:
- one hit = one tank destroyed (no health to be lost, simply gets shot and then is done)
I suggest you setup a for loop not as rounds as I previously mentioned, but as 'time'. initialize tank_time = 0; before the for loop, then every loop increment tank_time = tank_time + 1; This way you can track time and set flags for when the tanks should shoot.
Define the delay time to shoot for both tanks at the start of the script. Then in the for loop, check if tank_time is an even multiple of the delay_time. For example, if tank_time = 40 and tank_delay = 20, then the tank knows to shoot. You can do division and check the remainder :)
Then, when it's time for a tank to shoot, you must roll a random variable, you can probably use rand(1) in your case, which will generate a random uniform variable between 0 and 1. You should check if rand_var > 0.6 (or whatever the appropriate threshold is) and if it is true, the game ends (use a break statement to get out of the loop). If the rand_var is < 0.6, the game simply continues on to the next loop. time progresses and the next tank fires when the tank_delay is reached.
@@philparisi_ Thank you for your help sir . I really appreciate that. :) I'm now trying to build up the basis...
@@aliosmanbayir6009 excellent! let me know how it goes.
Hi, i am in begainer level of Matlab. Can you please suggest me a book for matlab learning?
Hi Tasnim, I recommend some of MATLAB’s free courseware (not a book exactly, but another way to learn).
matlabacademy.mathworks.com/details/matlab-onramp/gettingstarted
matlabacademy.mathworks.com/details/matlab-fundamentals/mlbe
Thanks for your quick reply.
Can you please make the front size a little big in matlab videos?
Inside the comman window. It will be good to look big fronts.
Absolutely - thank you for the feedback!
It was awesome Phil, could you continue posting more videos on intermediate and advance course on MATLAB.
Hi Epaudyal, yes I will put something together soon :)
ur a god phil
Aw thanks Dara. Ur a champ, too. Definitely check out the channel if you're seeking intermediate level content!
@@philparisi_ I have a computational methods final exam coming up soon for engineering. But the problems are super tough, jus trying to get on that level rn.
@@Beavur best of luck! Here are some advanced topics you may be interested in (they focus more on algorithms and approaches)
Monte Carlo Integration th-cam.com/video/JwRTKQyFSjA/w-d-xo.html
Fractal Geometry th-cam.com/video/dZbQ5rIms4k/w-d-xo.html
Fourier Transform th-cam.com/video/2kvemW3W1Vk/w-d-xo.html
Analytical vs. Numerical Solutions th-cam.com/video/sYGRquJWfM0/w-d-xo.html
Dice Roll Simulation th-cam.com/video/Kn9CpUqzt2o/w-d-xo.html
Convolution th-cam.com/video/hcyy144Gu60/w-d-xo.html
@@philparisi_ thank you
But I have a problem
Hi Truong, what is your problem?
1:06
😅
Thank you
Hi Ali, thank you for watching! Definitely check out the rest of the channel if you're interested - over 30 MATLAB tutorials with new ones weekly :)
@@philparisi_ hey Phil. I'm going to learn a lot from you mate.
I'm running for my PhD and need to learn Matlab. Been watching several videos on TH-cam but yours was the best.
Keep the good work man.
I'll watch all of your Matlab videos and perhaps anything you'll upload in future.
🌹
@@alimoradi2323 rock on!!! Very exciting and congrats on your pursuit of a PhD. I, too, am making my way through graduate school. If there are specific topics you are looking for, definitely let me know by commenting or posting on the community board of the page.
An image processing series debuts next week, too.
@@philparisi_ well, recently, I tried to code the Lagrange equation. But it was a bit confusing. So I downloaded an precoded from Matlab community and I've found it interesting example to analyze and learn from.
It would be nice to make a video about it.
@@alimoradi2323 shoot me a link, I'll check it out and see what I can do.