Discrete Lqr Example, For … Solutions of Infinite Horizon LQR using the Hamiltonian Matrix (see ME232 class notes by M.