counting letters in a cell "matlab" -
One of the above codes will count the number of characters in a cell that I like it [Exclusive C, ~, IDX] = Unique (chromatic); Unique entries in% # unique CC% #, if first-R2008a calculation = deposit (idx (:), 1, [], @ yoga); Tilde changes with 'Dummy'; But there is a blog: My cell contains letters from E to one I do not want to find any of the 'A' B ... this code will not tell that there ' E 'if it is not available. 4 would be calculated instead of just 5 1 2 2 3 and not 1 2 2 3 0 How to do I have added a = 1b = 2 ...... You can use it instead of resolving it: characterCell = {'a' 'b' 'b' 'a' 'b' 'd' c '' c '} ; % # Sample cell array mailsel = {'a' 'b' 'c' 'd' 'e'}; Letter to count #% [~, index] = icemember (character cell, matchale); Find index in% # match, cell calculation = submit (index (:), 1, [nuzeil (mesh) 1]); The% signaling i...