Seems like an embarassingly simple question, but how can I transpose a Matlab table vector?
For a simple transposition of a column vector aTable
to a row vector I tried standard syntaxes:
aTableT = aTable.';
aTableT = reshape(aTable, 1, height(aTable));
and
aTableT = rot90(aTable);
According to Mathworks the last one should work for table array, see here. However, I get this error code:
Error using table/permute (line 396) Undefined function 'permute' for input arguments of type 'table'.
Error in rot90 (line 29) B = permute(B,[2 1 3:ndims(A)]);
NB: fliplr
isn't useful either. Pretty sure I've covered the obvious angles - any ideas?
thanks!
rot90
works in 2014a, but I'm not sure if the result is the desired one, it behaves more likeflip
- – Edwinaedwine