How do I reshape a dataset?
1 view (last 30 days)
Show older comments
I have a 288x35 dataset, how do I make it into 35x288?
0 Comments
Answers (2)
Wayne King
on 14 Feb 2014
Edited: Wayne King
on 14 Feb 2014
When you say dataset, do you just mean a matrix?
X = randn(288,35);
Y = X.';
If the elements are all real-valued, just
Y = X';
or do you mean the transpose of a MATLAB dataset?
See Also
Categories
Find more on Mathematics and Optimization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!