function ca = arrToCA(A) % [rows cols] = size(A); for r = 1:rows for c = 1:cols ca{r,c} = sprintf('%g', A(r,c)); end end