Error when combine tables vertically
2 ビュー (過去 30 日間)
古いコメントを表示
These are my two tables I want to combine vertically. I tried to use the vercat() function. But it always says
An error occurred when concatenating the table variable 'posture' using VERTCAT.
Caused by:
Error using vertcat
Dimensions of arrays being concatenated are not consistent.
Could someone help me?
0 件のコメント
採用された回答
KSSV
2021 年 6 月 7 日
Read the csv files using readtable
T1 = readtable('up_all.csv') ;
T2 = readtable('upt_all.csv') ;
The last variable name is different, so you cannot join them. Rename the variable name to same.
T1 = renamevars(T1,'Var1','posture') ;
Now join both the tables .
T = [T1 ; T2] ;
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Logical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!