Bouncing Ball Project - ODE Event Function

Published: 31 August 2022
on channel: Laplace Academy
6,609
85

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:
   • Numerically Solve Differential Equations i...  

To know more about odeset and ode45 settings:
   • ode45 Part 2 | Advanced Settings for Diffe...  

To solve a differential equation analytically, using dsolve:
   • Solve Differential Equations Analytically ...  

If you want to solve any equation in MATLAB:
   • Learn to Solve Any Equation with MATLAB  

If you want to know more about symbolic tools in MATLAB:
   • MATLAB Symbolic Toolbox | Beginner's Guide...  

If you want to learn 2d Plotting in MATLAB:
   • 2D Plotting in MATLAB | MATLAB Tutorial fo...  

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:
   • Differential Equations in MATLAB  

You can also see other MATLAB projects in this link:
   • MATLAB Projects  

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:
  / laplaceacademy  

Facebook:
  / laplaceacademy  

LinkedIn:
  / laplaceacademy  

Twitter:
  / 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


On this page of the site you can watch the video online Bouncing Ball Project - ODE Event Function with a duration of hours minute second in good quality, which was uploaded by the user Laplace Academy 31 August 2022, share the link with friends and acquaintances, this video has already been watched 6,609 times on youtube and it was liked by 85 viewers. Enjoy your viewing!