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 Solvers48
Suggested Problems
-
Extract leading non-zero digit
2244 Solvers
-
Project Euler: Problem 1, Multiples of 3 and 5
3657 Solvers
-
Project Euler: Problem 3, Largest prime factor
1784 Solvers
-
Getting the row and column location from a matrix
297 Solvers
-
335 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!