How do I reshape a dataset?
조회 수: 2(최근 30일)
표시 이전 댓글
I have a 288x35 dataset, how do I make it into 35x288?
댓글 수: 0
답변(2개)
Wayne King
2014년 2월 14일
편집: Wayne King
2014년 2월 14일
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?
참고 항목
범주
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!