how can i found the frequency of the first 10 words in a text?

1 view (last 30 days)
I have a text and i want to find out how many times my first 10 words repeat in that text. and aftar that i want to do a histrogram with them.

Answers (1)

Askic V
Askic V on 16 May 2023
Please have a look at this example:
https://www.mathworks.com/matlabcentral/answers/1965034-how-can-i-do-a-histogram

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!