MATLAB: How to convert a cell array to a double array

cell arrays

I have computed the data in the cell as [3×1 cell] but actually i do not want this type of data all i need is to get the data in the form of [3×1 double]….I need to know is there any way to convert from cell to double array.. Any help is appreciated

Best Answer

v={1;2 ;3}
out=cell2mat(v)