Numerically Solve Differential Equations in MATLAB |

Опубликовано: 28 Сентябрь 2024
на канале: Laplace Academy
37,026
502

Welcome to Laplace Academy
Today we are going to learn about solving differential equations numerically in MATLAB.

In my previous tutorial I discussed how to solve ODEs analytically, using dsolve command in MATLAB.

But most of the times, our differential equations do not have an analytical solution. So, we must try numerical functions such as ode45.

Ode45 is a powerful initial value problem solver in MATLAB. It is important for any MATLAB user, to learn how to make the most out of this command. In this tutorial I discuss how to use it to solve differential equations.





🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻
Links To Other Tutorials, which might be of help to you:

To solve differential equations analytically:
   • Solve Differential Equations Analytic...  

To define functions in MATLAB:
   • Define Functions in MATLAB | MATLAB T...  

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

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

What do you want my next tutorial to be? 😉 Leave me a comment..


♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
This video is the first part of Differential Equations in MATLAB.
To see the full playlist:
   • Differential Equations in MATLAB  

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 - Intro
0:35 - Example of Using ode45
3:04 - Solving a system of differential equations in MATLAB
4:57 - Solving a second order ODE in MATLAB using ode45
6:33 - Solving a system of two second order differential equation using ode45
8:44 - One more example to practice using ode45






#matlab #ode45