B=[2 1 2]

Matrix B has the dimensions [ ]x[ ]

1x3