MATLAB: How to use ‘setdiff’ func. on cells cellssetdiff a and b are cells and I want to do this: setdiff(a,b); Best Answer cellfun(@setdiff,a,b,'un',0) Related SolutionsMATLAB: Delete empty [] {1×7 cell} {1×2 cell} z(cellfun('isempty',z))=[] MATLAB: “setdiff” comand usage https://de.mathworks.com/matlabcentral/answers/406227-excluding-one-vector-from-another-vector-with-repetition Related QuestionManipulation of a cell array-How to concatenate different cells of a cell array in one cell without a loup ?Speed up intersect, setdiff functions
Best Answer