MATLAB: Want to change class of .mat file

cell arraysworkspace

hi, i have a mat file containing complex values of 64×1 dimension. This mat file is in class cell. i want to change it to class double. how do i change it ?
thank you.

Best Answer

doc cell2mat
Assuming you have cell c and want double x ...
x = cell2mat(c);