Concatenating horizontally two cell arrays
1 次查看(过去 30 天)
显示 更早的评论
Hi,
A{1,1}=00016510;
B{1,1}=0;
C=horzcat(A{1,1},B{1,1});% is giving C=00016510 (1x9 char although 8 digits appear)
C=horzcat(A,B);%gives C= '00016510' [0] (1×2 cell array)
I am wondering how to concatenate the two cells horizontally to get 000165100
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!