how to find the transpose of a matrix on matlab code example Example: transpose of a matrix in matlab B = A.' B = A' B = transpose(A)