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

 Akzeptierte Antwort

Walter Roberson
Walter Roberson am 16 Jun. 2013

0 Stimmen

{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.

Weitere Antworten (0)

Kategorien

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by