I have two cell arrays of strings of varying lengths, d={'nerve','body','muscle','bone'} and e={'body','body','muscle'}. I have to compare these two arrays and count the occurrences of each string in e in d. The expected result should be a vector, count_string=(0,2,1,0). The following is the code I've written but I get the error:Cell contents assignment to a non-cell array object. I am a beginner in matlab programming. Any quick help on this is greatly appreciated.I have two cell arrays of strings of varying le