matlab array from table code example Example: transpose array matlab B = A.' % or alternatively B = transpose(A)