I have 1*512 cell and i want it to convert in matrix so i am trying to use cell2mat but i am getting this error :
Error using catDimensions of matrices being concatenated are not consistent.Error in cell2mat (line 75) m{n} = cat(2,c{n,:});
i have obtained this cell after using
cellfun(@(x) find(x,1,'first'), cimg,'un',0);
Uploading the mat file for 1*512 as well.
Best Answer