To reshape a row vector to be the same length as a column vector in Matlab, you can use either the transpose
function or the single quote operator.
Here's an example of how to use the transpose
function:
main.m96 chars3 lines
And here's an example of how to use the single quote operator:
main.m96 chars3 lines
Both of these methods will result in a column vector of the same length as the original row vector.
gistlibby LogSnag