Process
- Find the Characteristic Polynomial of the matrix
- Find Minimal Polynomial of the characteristic polynomial.
- Expand the minimal polynomial
- Write the Matrix Definition of Cyclic Subspace of the expanded version. This is your rational canonical form.