sublimetext2 - Transpose of a row vector in Octave causing problems with string escape character -
in sublime, i'm trying take transpose of row vector in octave file such:
y = [4, 5, 6]; y_transpose = y';
but whenever try run in octave, acts if introduction of transpose operator (the ') beginning of string, , ignores following lines of code. how can remedy this?
i don't know why isn't working. '
listed operator in docs. workaround, use transpose
function.
y = [4, 5, 6]; y_transpose = transpose(y);
though should note '
complex conjugate transpose. normal transpose .'
. maybe should try:
y = [4, 5, 6]; y_transpose = y.';
Comments
Post a Comment