How to transpose a MATLAB table?
you need to first convert your table to an Array before rotating and converting it back into a table:
YourArray = table2array(YourTable);
YourNewTable = array2table(YourArray.');
YourNewTable.Properties.RowNames = YourTable.Properties.VariableNames;
You can also try rot90(YourTable)
and see what happens, but I'm not sure it does the same (I think it is one of those misleading names)