Solving Differential Equations in matlab

Click For Summary
SUMMARY

The discussion focuses on solving a system of differential equations using MATLAB's ODE solvers, specifically Ode23 and Ode45. The equations involve constants a1, b2, c, d, a2, and variables x1 (theta_dot), x2 (theta_ddot), x3 (alpha_dot), and x4 (alpha_ddot). The user seeks to find solutions for x1, x2, x3, and x4 over time and is advised to consult MATLAB's help documentation for guidance on implementing these solvers.

PREREQUISITES
  • Understanding of differential equations and their representations.
  • Familiarity with MATLAB programming environment.
  • Knowledge of ODE solvers, specifically Ode23 and Ode45.
  • Basic plotting techniques in MATLAB for visualizing results.
NEXT STEPS
  • Research the implementation of Ode23 and Ode45 in MATLAB for solving differential equations.
  • Learn how to define and manipulate symbolic equations in MATLAB.
  • Explore MATLAB's plotting functions to visualize the solutions over time.
  • Investigate advanced techniques for solving stiff differential equations if applicable.
USEFUL FOR

Mathematics students, engineers, and researchers who need to solve and visualize systems of differential equations using MATLAB.

vijaymarathe
Messages
1
Reaction score
0
I have following Differential Equations

a1*x2+b2*x1-c*cos(int(x3))*x4=d
-c*cos(int(x3))*x2-a2*sin(int(x3))+b2*x4=0

where a1,b2,c,d,a2,b2 are constants and x1=theta_dot; x2=theta_ddot; x3=alpha_dot; x4=alpha_ddot

I want to solve these equations for x1,x2,x3,x4 and want to plot with time.
 
Physics news on Phys.org
Just look up Ode23 (or maybe Ode45, try both) in the help...
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K