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

4 vues (au cours des 30 derniers jours)
Armina Petrean
Armina Petrean le 16 Mai 2023
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.

Réponses (1)

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

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by