How can I display a table with many rows?
12 次查看(过去 30 天)
显示 更早的评论
Hi everyone, i have a problem: i want to create a table with 42 rows and 19 column, i used these commands
T = table(I_S_A,I_O_P, I_M_A, I_S_E, I_R_P, I_G,I_E_I, I_E, I_E_N, I_L_P, I_H_R, I_S, I_P, I_E_F,...
I_S_D_G, I_P_G, I_T_G, I_4_0, I_C_E);
T(1:42,:)
But the answere in Command Window is :
"Error using prova (line 1099)
Row index exceeds table dimensions. "
How can i fix it? .Inserting T (1:41,:) the table comes out but with T(1:42,:) no. Who helps me? thank you very much in advance!
0 个评论
采纳的回答
Star Strider
2020-3-21
Apparently, the vectors that create the table only have 41 elements. In a table, the first row (the 'VariableNames') is not considered part of the table data, and so cannot be addressed as part of the data.
6 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Type Identification 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!