transpose matrix matlab code example
Example 1: transpose array matlab
B = A.'
% or alternatively
B = transpose(A)
Example 2: matlab transpose
% To get the transpose of a matrix, there are two methods:
B = A.'
B = transpose(A)
Example 3: transpose of a matrix in matlab
B = A.'
B = A'
B = transpose(A)