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

3 次查看(过去 30 天)
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by