How to convert some arrays into one cell array?

Dear all,
I am Beginner in MATLAB and I have this problem: I have some array with one column and different rowes, for example: A=[1;15;52;65;81], B=[2;7;15;40;65;84;96],C=[7;9;4;8;16;] and D=[7;9;20;65;98;23;14;18], now how can I convert these arrays into one cell array which:
cell array={[A] [B] [C] [D]};
Best regards
ESSI

 採用された回答

Walter Roberson
Walter Roberson 2013 年 6 月 16 日

0 投票

{A, B, C, D}
If, that is, you want the result to be a 1 x 4 cell, where the first cell contains A, the second B, and so on.

その他の回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by