- #1
stdtoast
- 2
- 0
I have equations of motion for a projectile with air resistance: where [tex]q = [x; y][/tex]
[tex]m \ddot{q_1} = -k \dot{q_1}[/tex]
[tex]m \ddot{q_2} = -k \dot{q_2} - mg[/tex]
I need to convert it into state space form, with the state [tex]X = [q; \dot{q}][/tex]. I'm told state-space form is a first order vector ODE: [tex]\dot{X} = [\dot{q}; \ddot{q}] = f(X)[/tex]
Now I'm confused. I can write my equations of motions in matrix form like: [tex]m\ddot{q} = -k \dot{q} - [0; mg][/tex]. Is writing this in state-space form like vectorizing it again? Also, is f(X) a matrix? It's hard for me to figure out the problem without understanding the notation...
[tex]m \ddot{q_1} = -k \dot{q_1}[/tex]
[tex]m \ddot{q_2} = -k \dot{q_2} - mg[/tex]
I need to convert it into state space form, with the state [tex]X = [q; \dot{q}][/tex]. I'm told state-space form is a first order vector ODE: [tex]\dot{X} = [\dot{q}; \ddot{q}] = f(X)[/tex]
Now I'm confused. I can write my equations of motions in matrix form like: [tex]m\ddot{q} = -k \dot{q} - [0; mg][/tex]. Is writing this in state-space form like vectorizing it again? Also, is f(X) a matrix? It's hard for me to figure out the problem without understanding the notation...