Problem 42716. Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurrences of every letter ('a' to 'z'). The counting should be case insensitive, e.g. no difference between 'a' and 'A' should be made.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers46
Suggested Problems
-
3276 Solvers
-
Back to basics 25 - Valid variable names
322 Solvers
-
Generate N equally spaced intervals between -L and L
856 Solvers
-
Determine the number of odd integers in a vector
709 Solvers
-
Count number of words in string
176 Solvers
More from this Author2
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!