Is the following state correct for a Constant Acceleration (CA) model KF applied for tracking an object which moves in (x, y, z) and have the freedom of rotation $\phi$ around the $z$ axis?
\begin{equation} x= \begin{bmatrix} x, \dot x, \ddot x, y, \dot y, \ddot y, z, \dot z, \ddot z, \phi, \dot \phi, \ddot \phi \end{bmatrix} \end{equation}
UPDATE:
I can only measure $(x, y, z)$, directly. After, I computed $\phi$, rotation around the $z$ axis, using $\arctan(\frac{\delta y}{\delta x})$, indirectly. The measurements that I input to KF are: $x, y, z, \phi$.
Assuming: \begin{equation} \pmb{\alpha}= \begin{bmatrix} 1 & dt & 0.5 \times dt^2 \\ 0 & 1 & dt \\ 0 & 0 & 1 \end{bmatrix}_{3 \times 3} \end{equation}
\begin{equation} \pmb{\beta}= \begin{bmatrix} 1 & 0 & 0 \end{bmatrix}_{1 \times 3} \end{equation}
$A$, the state transition matrix which applies the effect of each state parameter at time $t-1$ on the state at time $t$, is built using: \begin{equation} x_{k+1}= \begin{bmatrix} \pmb{\alpha}_{3 \times 3} & 0_{3 \times 3} & 0_{3 \times 3} & 0_{3 \times 3} \\ 0_{3 \times 3} & \pmb{\alpha}_{3 \times 3} & 0_{3 \times 3} & 0_{3 \times 3} \\ 0_{3 \times 3} & 0_{3 \times 3} & \pmb{\alpha}_{3 \times 3} & 0_{3 \times 3} \\ 0_{3 \times 3} & 0_{3 \times 3} & 0_{3 \times 3} & \pmb{\alpha}_{3 \times 3} \\ \end{bmatrix}_{12 \times 12} \cdot \begin{bmatrix} x\\ \dot x\\ \ddot x\\ y\\ \dot y\\ \ddot y\\ z\\ \dot z\\ \ddot z\\ \phi\\ \dot \phi\\ \ddot \phi \end{bmatrix}_{k} \end{equation}
In the same manner, the transformation matrix $H$, which map state vector parameters into the measurements domain, is built using: \begin{equation} H= \begin{bmatrix} \pmb{\beta}_{1 \times 3} & 0_{1 \times 3} & 0_{1 \times 3} & 0_{1 \times 3} \\ 0_{1 \times 3} & \pmb{\beta}_{1 \times 3} & 0_{1 \times 3} & 0_{1 \times 3} \\ 0_{1 \times 3} & 0_{1 \times 3} & \pmb{\beta}_{1 \times 3} & 0_{1 \times 3} \\ 0_{1 \times 3} & 0_{1 \times 3} & 0_{1 \times 3} & \pmb{\beta}_{1 \times 3} \\ \end{bmatrix}_{4 \times 12} \end{equation}