I have a cell array with 1000×13 cells. I now want to get every row which does have a value in column 12 and store them in a new variable. Till now I ve been trying to somehow get around with the "isempty' function and wanted to distract that from the original cell array, but I got stuck and I m aware of that not being the most elegant way to do it… So someone might help out? Thanks in advance!
X=datafor i= 2:10000column= X(:,12)column_empty = column(~cellfun(@isempty, column))
Best Answer