Combine vectors of different dimensions to a table
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear Mathworks Community,
I have 380 vectors each with same column (1) but with little different number of rows e.g. 18000*1 or 18001*1 or 17999*1.
How to combine all into table?
I tried T=table(APP,PSS,TSS,VUU,...,....,.... ...);
But error:
All variables must have the same number of rows.
Looking various ways to combine them.
Help much appreciated.
Thanks
댓글 수: 0
답변 (1개)
Nikhil Sonavane
2019년 11월 12일
You can try padding the arrays with 0 or NaN so that all arrays are of same size and the combine them as required
참고 항목
카테고리
Help Center 및 File Exchange에서 Tables에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!