ode45 Part 2 | Advanced Settings for Differential Equation Solving in MATLAB

Welcome to Laplace Academy
Today we are going to learn more about solving differential equations numerically in MATLAB.
In my previous tutorial I discussed how to solve ODEs using ode45 command.
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 explain more about solving ODEs in MATLAB. So watch this tutorial and enjoy.
🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻
Links To Other Tutorials, which might be of help to you:
ode45 - part 1:
• Numerically Solve Diff...
To solve differential equations analytically:
• Solve Differential Equ...
To define functions in MATLAB:
• Define Functions in MA...
If you want to solve any equation in MATLAB:
• Learn to Solve Any Equ...
If you want to know more about symbolic tools in MATLAB:
• MATLAB Symbolic Toolbo...
If you want to learn 2d Plotting in MATLAB:
• 2D Plotting in MATLAB ...
What do you want my next tutorial to be? 😉 Leave me a comment..
♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦♦
This video is part of Differential Equations in MATLAB playlist. To see the full playlist:
• Differential Equations...
Please consider hitting the SUBSCRIBE button. Or click on the link below:
bit.ly/3q1he3v
If you want to learn MATLAB:
bit.ly/3q1he3v
You can also follow me on
Instagram:
/ laplaceacademy
Facebook:
/ laplaceacademy
LinkedIn:
/ laplaceacademy
Twitter:
/ laplace_academy
0:00 - Intro
0:20 - Example of Using ode45
1:33 - Solving an ODE with multiple initial conditions
2:11 - Controlling the number of points to discretize the interval
3:28 - Creating a function out of the solution of ODE
4:54 - Solve an ODE when the initial condition is not at the beginning of the interval
6:18 - Increasing the accuracy of solving ODE
7:43 - MATLAB ODE solvers other than ode45
#matlab #ode45

Пікірлер: 6

  • @habibacorner7567
    @habibacorner75677 ай бұрын

    How to plot exact solution in same figure with actual solution

  • @LaplaceAcademy

    @LaplaceAcademy

    7 ай бұрын

    Watch this tutorial, mate. kzread.info/dash/bejne/lqOO0MduopCqfs4.html

  • @erumahmed6373
    @erumahmed63737 ай бұрын

    where should i write step size in matlab??

  • @erfanrazipour6729

    @erfanrazipour6729

    7 ай бұрын

    Instead of writing the timespan as [0 2] you can write it as 0:0.01:2 here the step size is 0.01

  • @LaplaceAcademy

    @LaplaceAcademy

    7 ай бұрын

    Correct!

  • @LaplaceAcademy

    @LaplaceAcademy

    7 ай бұрын

    Correct!