Numerically Solve Differential Equations in MATLAB |

  Рет қаралды 33,881

Laplace Academy

Laplace Academy

Күн бұрын

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 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 the first part of Differential Equations in MATLAB.
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: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

Пікірлер: 27
@sarah-tq5qh
@sarah-tq5qh Ай бұрын
Keep going ⭐
@vking4983
@vking4983 8 ай бұрын
This is a really helpful video. I tried rewriting keplers equations in 3 dimensions, which i thought would be an easy extension from what you did - 3 2nd order ODE's means 6 1st order ODE's with 6 initial conditions - but it was not easy. Why don't you consider the gravitational parameter, mu, in your example for keplers equation? I find when i add mu to your code, then the graph falls apart.
@mohamed__sherif
@mohamed__sherif Жыл бұрын
Great Video
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
Thanks!
@nauleshkumar8703
@nauleshkumar8703 9 ай бұрын
short and handy videos, thanks
@LaplaceAcademy
@LaplaceAcademy 9 ай бұрын
You're welcome. I'm glad you liked it
@PymGordonArthur
@PymGordonArthur Жыл бұрын
Thanks for the upload.
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
I'm glad I could help you 🏌️
@arpangarg6112
@arpangarg6112 Жыл бұрын
Excellent
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
I am glad that I could help you.
@fabjulian7926
@fabjulian7926 9 ай бұрын
insane, thank you so much!
@LaplaceAcademy
@LaplaceAcademy 9 ай бұрын
You're welcome
@hammaminadjima3813
@hammaminadjima3813 Жыл бұрын
Hello. Thanks for the nice video. I would like to know how can we solve a boundary value problem. I mean if the initial condition is at the non-zero value of an independent variable.
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
Hi. Thanks for your comment. Here's the link to another tutorial. I hope it helps you. kzbin.info/www/bejne/Zl6ZfXx6asyNnrM
@pawejerzyna5674
@pawejerzyna5674 6 ай бұрын
this video was put simply, thanks
@LaplaceAcademy
@LaplaceAcademy 6 ай бұрын
You're welcome.
@tamannaahuja8640
@tamannaahuja8640 2 ай бұрын
Thanks for the video but in my matlab it’s showing “execution of script ODEE45 as. a function is not supported. Please help
@aajamerepyar4586
@aajamerepyar4586 Ай бұрын
how to plot y' vs y and y' vs x in the ode45
@mathematics__07
@mathematics__07 5 ай бұрын
Sir please tell about cauchy problem
@Vlad.007
@Vlad.007 2 ай бұрын
last initial condition for Kepler equations that you provided is sqrt of a negative number so how does it work?
@LaplaceAcademy
@LaplaceAcademy 2 ай бұрын
The variable 'e' is always smaller than 1. So the initial condition is not going to be sqrt of a negative value.
@user-yz6ho8fx8j
@user-yz6ho8fx8j Жыл бұрын
yeah nice video, but how do i get the actual equation for u and v? isn't that as well the actual solution of the differential equation?
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
Not every differential equation has an analytical answer. But you can always try. Learn how to use dsolve command for the exact solution of ODEs. Here's the link: kzbin.info/www/bejne/opqxaHZve9hsm9k
@faridnajafzadehasl6315
@faridnajafzadehasl6315 Жыл бұрын
Perfect
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
Thanks mate
@HadiB-mo4wy
@HadiB-mo4wy Жыл бұрын
Nice accent ❤
@LaplaceAcademy
@LaplaceAcademy Жыл бұрын
Love you mate ❤️👽🍒
Lec13 Solving ODEs using ode45 in Matlab
40:37
Jose Gutierrez
Рет қаралды 45 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
Matlab ode45 (and Similar) Tutorial Part 1: The Basics
48:55
Scholastic Samaritan
Рет қаралды 49 М.
Solve Differential Equations Analytically | MATLAB dsolve Command
4:53
Solving Ordinary Differential Equations Using MATLAB
19:37
Matlab Simulink: How To Solve Differential Equations
8:24
Laplace Academy
Рет қаралды 10 М.
Solve First Order Ordinary Differential Equation in MATLAB using ode45
6:07
MATLAB's ode45 Solver - Single Degree-of-Freedom Oscillator
9:33
Jousef Murad | Deep Dive
Рет қаралды 23 М.
How to Solve Differential Equations in PYTHON
23:37
Mr. P Solver
Рет қаралды 98 М.
Solving Differential Equations in Matlab Simulink
7:37
Eng. Radfan Ojailah
Рет қаралды 33 М.
ME 340: Example, Solving ODEs using MATLAB's ode45 command
7:15
CPPMechEngTutorials
Рет қаралды 261 М.
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,8 МЛН