a={1 1 1, 7 7 7}; b={0 0 0, 8 8 8}; c=a//b; For character matrices, the element size of the result matrix is the larger of the element sizes of the two operands.