File Exchange

image thumbnail

transposeTable

version 2.0.0.1 (1.29 KB) by smsinks
Transpose any table

3 Downloads

Updated 16 Oct 2018

View Version History

View License

This function produces a transpose of any table

Cite As

smsinks (2020). transposeTable (https://www.mathworks.com/matlabcentral/fileexchange/65743-transposetable), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

smsinks

Thanks, Julian. I didn't know about rows2vars in R2018b.

Julian

I saw MathWorks added rows2vars in R2018b, which does much the same as your function - and suggests you discovered a previously unmet need! I am not rating your submission because I haven't used it myself (I will likely use rows2vars for this purpose).

For interest you might know that the function matlab.lang.makeValidName is probably easier to generate variable names than using regex.

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!