Spectral discretizations based on rectangular differentiation matrices have recently been demonstrated to be a convenient means of solving linear and nonlinear ordinary differential equations with general boundary conditions and other side constraints. Here, we present explicit formulae for such matrices.