MATLAB: Cell array with mixed data types into single type

cell arraydouble and single data types

i have cell array with mixed data types(single and double precision) randomly. how to convert it into one type in matlab

Best Answer

Let A - your cell array:
out = cellfun(@double,A);