49 views (last 30 days)
Ongun Palaoglu on 2 Feb 2020
B = tabulate(A)
B = cell2table(B,'VariableNames', ...
I get this error, error using cell2table (line 24) c must be a 2-d cell array.
I dont understand why i am getting this error. I am seeing resut for tabulate function 2x3 cell. can not convert it to table. cell2table function works on my different tabulate function calculation
Walter Roberson on 3 Feb 2020
You would get that error if A was a numeric vector, in which case B would be a numeric output array rather than a cell array. Then the numeric array would be a problem when passed to cell2table()