After ensuring that all variables are in the same order in the system, say x, y and z, you'll fill each column within the coefficient matrix with the coefficients for a specific variable. Column 1 will have the coefficients of the first variable, say x; columns 2 and 3 will have the coefficients for the second and third variables, say y and z, respectively.