Rewrite a system of linear equations using a matrix representation.