I had attached a screen shot of my cell array. I need to replace 1*306 double NaN values instead of empty [] cells. Any help would be appreciated. Thank you so much in advance.
I tried the following code:
c= 6804*1 cellempties = cellfun('isempty',c);c(empties) = {NaN};
But it just replace the empty cell with single NaN value
Best Answer