30 most frequent words with more than 4 letters in a text file
조회 수: 1 (최근 30일)
이전 댓글 표시
I have to resolve this problem:
Read a large existing text file (you can create one by copying a large text from the browser into notepad and saving with extension .txt). Find the 30 most frequent words with more then 4 letters. (Filter out non-letters)
i've only did this:
clear all; close all; clc;
fid=fopen('text.txt');
text=fread(fid,1000000,'uint8=>char')';
fclose(fid);
How could I finish the problem?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 String Parsing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!