Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C 1 O 1 D 1 Note:Change the given string into UPPER case letters. then calculate.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers48
Suggested Problems
-
Determine whether a vector is monotonically increasing
23791 Solvers
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15828 Solvers
-
Read a column of numbers and interpolate missing data
2360 Solvers
-
Find the elements of a matrix according to a defined property.
92 Solvers
-
Magic is simple (for beginners)
11992 Solvers
More from this Author16
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!