transpose an array matlab code example Example: transpose of a matrix in matlab B = A.' B = A' B = transpose(A)