How to Solve State Homogeneous Differential Equations Using MATLAB?

archanas4743
Messages
1
Reaction score
0
can anyone help me with MATLAB code for for solving a state homogeneous differential

X=state vector

Xdot(t)=AX(t)+BU(t) U is the control input

i have the values of A and B ,i need the solution for X(t)
 
Physics news on Phys.org
Welcome to PF;
can anyone help me with MATLAB code for for solving a state homogeneous differential
Probably - what have you tried?
 
you can search the m files on matworks, or use the differential equations simulink
 
A and B are invertibles so inv(A) and inv(B) exists, do the algebra of matrices to get X(t) in a side, but here d/dtX(t) exist, so you can solve the homogeneous system first by assuming that the control input is the zero vector, the general solution of elements are x_i(t)=Constant_i*exp(lamda_i*t), i=1,2,...N
 
you solve the characteristic equation which is exactly solvable up to 4th degree after you can refer to numerical methods to find the roots lamdas.
 
There is the following linear Volterra equation of the second kind $$ y(x)+\int_{0}^{x} K(x-s) y(s)\,{\rm d}s = 1 $$ with kernel $$ K(x-s) = 1 - 4 \sum_{n=1}^{\infty} \dfrac{1}{\lambda_n^2} e^{-\beta \lambda_n^2 (x-s)} $$ where $y(0)=1$, $\beta>0$ and $\lambda_n$ is the $n$-th positive root of the equation $J_0(x)=0$ (here $n$ is a natural number that numbers these positive roots in the order of increasing their values), $J_0(x)$ is the Bessel function of the first kind of zero order. I...
Are there any good visualization tutorials, written or video, that show graphically how separation of variables works? I particularly have the time-independent Schrodinger Equation in mind. There are hundreds of demonstrations out there which essentially distill to copies of one another. However I am trying to visualize in my mind how this process looks graphically - for example plotting t on one axis and x on the other for f(x,t). I have seen other good visual representations of...
Back
Top