Solving Differential Equations in matlab

AI Thread Summary
The discussion focuses on solving a system of differential equations in MATLAB, specifically using the ODE23 or ODE45 functions. The equations involve constants and variables representing angular velocities and accelerations. The user seeks to find solutions for the variables x1, x2, x3, and x4 over time. Suggestions emphasize utilizing MATLAB's built-in functions for numerical integration and plotting results. Effective implementation of these methods will help visualize the dynamics described by the equations.
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

Back
Top