- #1
member 428835
Hi PF!
I'd like to make one matrix from a cell. I've checked several suggestions, the most promising here but this did not work, giving me the unhelpful error
Brace indexing is not supported for variables of this type.
Error in cell2mat (line 42)
cellclass = class(c{1});
Error in Feven (line 212)
C=cell2mat(cellfun(@(x) [cell2mat(x) zeros(1,maxEl-numel(x))],c,'uni',0));
The cell data is here. Any help is so appreciated!
I'd like to make one matrix from a cell. I've checked several suggestions, the most promising here but this did not work, giving me the unhelpful error
Brace indexing is not supported for variables of this type.
Error in cell2mat (line 42)
cellclass = class(c{1});
Error in Feven (line 212)
C=cell2mat(cellfun(@(x) [cell2mat(x) zeros(1,maxEl-numel(x))],c,'uni',0));
The cell data is here. Any help is so appreciated!