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

 Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Jun. de 2013
{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.

Más respuestas (0)

Categorías

Etiquetas

Preguntada:

el 16 de Jun. de 2013

Community Treasure Hunt

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

Start Hunting!

Translated by