counting How many times a letter apear in a notepad text?
Show older comments
I have a rather large text in a notepad and I want to find out how many times a certain letter is repeated in it.For example, I want to know how many times all the letters of the alphabet appears in that text and then I want to plot it, to show me something like that .
but the text is pretty big. it is a reference corpus. 

8 Comments
Stephen23
on 5 Apr 2023
@Armina Petrean: What have you tried so far?
Armina Petrean
on 5 Apr 2023
Armina Petrean
on 5 Apr 2023
Rik
on 5 Apr 2023
But fileread returns the entire text file. What gives you the impression that something is missing?
Armina Petrean
on 5 Apr 2023
Armina Petrean
on 5 Apr 2023
Dyuman Joshi
on 5 Apr 2023
To clarify, you want to plot the frequency graph for Upper case letters, lower case letters and digits individually from a given text?
Armina Petrean
on 5 Apr 2023
Accepted Answer
More Answers (0)
Categories
Find more on Language Support in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
