MATLAB: How to add Elements from a “double array” in a “specified column” of cell array ….

cell arraysdouble arrays

I have a CELL ARRAY (stored in variable "Alpha") of 20 X 10 order.
It has text say "Boy", "Girl" etc. in first column.
There is a DOUBLE ARRAY (stored in variable Beta) of 20 X 4 order.
I wish to copy the contents of its first column into second column of the CELL ARRAY.
Please help.

Best Answer

One possible way:
>> Alpha(:,2) = num2cell(Beta(:,1));