Matlab transpose a table vector -


An embarrassing simple question seems to be, but how can I move a Matlab table vector?

aTableT = aTable ';

I tried a standard syntax for the simple interaction of a line vector to a line vector aTable :

ATableT = reshape (aTable, 1, Height (aTable));

and

  aTableT = rot90 (aTable);   

According to the head, the last time table should work for table, see. However, I get this error code:

Error type in using table / permit (line 396) Undefined function 'permute' for the input arguments.

Error in rot 90 (line 29) b = magnitude (b, [2 1 3: ndims (a)]);

NB: fliplr is not useful either pretty sure I have covered clear angles - any ideas? Thanks!

Try changing your table into an array, move it, then back to a table In other words, try doing this:

  aTableArray = table2array (aTable); ATableT = array 2table (aTableArray. ');   

I have also read the document for rot90 , and it says that rot90 is definitely working for tables Do, and I find you have the same error as you, since transposition, clearly works for arrays / matrix, let's do a quick action by converting it into a matrix, do transpose, then back to the table . It worked for me!

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

c# - Textbox not clickable but editable -