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

 采纳的回答

{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 Exchange 中查找有关 Cell Arrays 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by