COUNT LETTERS - MATLAB Cody - MATLAB Central

Problem 1640. COUNT LETTERS

Difficulty:Rate
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

54.64% Correct | 45.36% Incorrect
Last Solution submitted on Aug 14, 2025

Problem Comments

Solution Comments

Show comments
Join Cody Contest 2025 — Have Fun and Win Prizes!
...
We’re excited to invite you to Cody Contest 2025! 🎉 Pick a team,...

Problem Recent Solvers46

Suggested Problems

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!