Check out example codes for "matlab transpose". It will help you in understanding the concepts better.

Code Example 1

% To get the transpose of a matrix, there are two methods:

B = A.'
B = transpose(A)

Code Example 2

B = A.'
B = A'
B = transpose(A)

Learn ReactJs, React Native from akashmittal.com