Frequencies of special words in a text

조회 수: 1 (최근 30일)
Jonquil
Jonquil 2019년 2월 17일
답변: Ashutosh Thakur 2022년 6월 29일
Hi. I need a matlab code that reads a text file like 'test.txt' and then counts the number of occurences of special words ( like 'good' or 'computer') that I determine.
Can anyone help me? I don't want to calculate the frequency of every word in the text, just the words that I determine in the code.

답변 (1개)

Ashutosh Thakur
Ashutosh Thakur 2022년 6월 29일

카테고리

Help CenterFile Exchange에서 Characters and Strings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by