Bouncing Ball Project - ODE Event Function #MATLAB
Today we discuss event function sin MATLAB ODE solvers. In the previous tutorial we learned how to solve a differential equations in MATLAB using ode45 command. Now we will learn a powerful feature to solve complicated examples: event function. Whenever we want to stop the ODE solver at some event, but we don't know the exact time of the event, we should define it as an event function and tell MATLAB to stop the code at that event π»π»π»π»π»π»π»π»π»π»π»π»π»π»π»π» Links To Other Tutorials, which might be of help to you: To solve a differential equation numerically, using ode45: https://youtu.be/VQZHRMs3VWo To know more about odeset and ode45 settings: https://youtu.be/cx0ihO8nHeA To solve a differential equation analytically, using dsolve: https://youtu.be/liN7C9Fs9ew If you want to solve any equation in MATLAB: https://youtu.be/gPbgZt8OgiM If you want to know more about symbolic tools in MATLAB: https://youtu.be/62qOc_mX7BU If you want to learn 2d Plotting in MATLAB: https://youtu.be/doZne5r-DNk What do you want my next tutorial to be? π Leave me a comment.. β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦β¦ This video is a part of Differential Equations in MATLAB playlist. You can see the full playlist in the link below: https://youtube.com/playlist?list=PLWvk7z0xH-KfR27iFHj0AtB1bbAf9POkG You can also see other MATLAB projects in this link: https://youtube.com/playlist?list=PLWvk7z0xH-KcGuqwVxbPgZTB3l8NzidLP Please consider hitting the SUBSCRIBE button. Or click on the link below: https://bit.ly/3q1he3v If you want to learn MATLAB: https://bit.ly/3q1he3v You can also follow me on Instagram: https://www.instagram.com/laplaceacademy/ Facebook: https://www.facebook.com/laplaceacademy LinkedIn: https://www.linkedin.com/company/laplaceacademy/ Twitter: https://twitter.com/laplace_academy 0:00 - Problem definition 0:43 - PART 1: writing ode45 command 1:45 - PART 2: Defining event function 5:21 - PART 3: Solving for 10 iterations #laplaceacademy #matlab #differentialequation
Download
0 formatsNo download links available.