I’m having the cell array res with cells 3×2, each of them containing a string. I want to apply regexp to each cell and it should look like that:
fin = cellfun(@regexp(res, '\.', 'split'),res,'UniformOutput',false)
however it doesn’t do the job. Anyone knows how it can be combined properly?
You were on the right track, but the syntax of your anonymous function is wrong. Try this: