converting two cells into one

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.

 採用された回答

Vieniava
Vieniava 2011 年 2 月 8 日

0 投票

Consider following code:
a={'4'; '8'};
b={'the' ; 'be'};
spaces={' ' ; ' '};
c=strcat(b,spaces,a)
EDIT:
calternative=[b a];

1 件のコメント

vish
vish 2011 年 2 月 8 日
I need the data in separate columns in the cell. Thanks

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeCell Arrays についてさらに検索

タグ

質問済み:

2011 年 2 月 8 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by