To transpose a vector in MATLAB, you can use either the transpose operator (') or the transpose function (transpose()).
Using transpose operator:
main.m33 chars3 lines
Using transpose function:
main.m43 chars3 lines
Both methods will give you the same result, which is a column vector that is the transpose of the original row vector.
gistlibby LogSnag