where I is the identity matrix, and the above are stacked vectors and matrix where all the rows and columns are appended together.
What you should do as mentioned in the comments is to use the .*
operator to write
F = 1.*B + 2.*C + 3.*DG = 4.*B + 5.*C + 6.*DH = 7.*B + 8.*C + 9.*D