converting two cells into one
1 次查看(过去 30 天)
显示 更早的评论
I have two cells :
a = 4
8
b=
the
be
How do I make them one cell . ? ie.
c=
the 4
be 8
Thank you.
0 个评论
采纳的回答
Vieniava
2011-2-8
Consider following code:
a={'4'; '8'};
b={'the' ; 'be'};
spaces={' ' ; ' '};
c=strcat(b,spaces,a)
EDIT:
calternative=[b a];
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!