a={'hello','world','friends'};
I want to see if for every word in the cell array contains the letter 'o', how to use cellfun()
to achieve the following in a compact expression?
b = [ contains(a(1),'o') contains(a(2),'o') contains(a(3),'o')]