how to slove following ode in matlab?
3 views (last 30 days)
Show older comments
can anybody solve this equations in matlab every thing is given just tell me how to slove in matlab5 Comments
Walter Roberson
on 26 Oct 2020
No. I cannot read the expressions clearly, and I do not have enough information about what the symbols represent.
I also do not know if you have access to the Symbolic Toolbox.
I pointed you to a specific example of using the Symbolic Toolbox to convert multivariate systems of differential equations into an anonymous function handle that can be used by ode45() . You should be able to proceed from there, with just the additional hint:
syms f(x) y
Dx = diff(f, x);
eqn = Dx == x^2 + y
condition = Dx(0) == 1 %f'(0) = 1 boundary condition
Answers (0)
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!