Let's say modeling the free-falling object on state-space. Obviously, the equation of motion is a second order differential equation of the vertical position of the object. And one would normally set vertical position "x" and its derivative "x dot" as element of state to configure a state-space model. However, the output is only a linear combination of states(and input). In this case what would be the best option to get "acceleration" or second derivative "x double dot" as an output?
This is quite a basic question, but can't find a good example.
Edit)
Consider a falling ball with vertical force F and positional sensor y. How can I represent an additional acceleration sensor "y_2" on the model below?
$$\begin{matrix} \dot{x} \\ \ddot{x} \end{matrix} = \begin{matrix} 0 & 1 \\ 0 & 0 \end{matrix} *\begin{matrix} x \\ \dot{x} \end{matrix} + \begin{matrix} 0 & 0 \\ 1/m & -1 \end{matrix}*\begin{matrix} F \\ g\end{matrix}$$ $$\begin{matrix} y \end{matrix} = \begin{matrix} 1& 0 \end{matrix}*\begin{matrix} x \\\dot{x} \end{matrix} + 0 *\begin{matrix} F \\ g\end{matrix}$$