Problem 1757. Letter and word frequency

Solution 3271438

Submitted on 19 Oct 2020
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
% Cody External accessibility % This file may need to change in the future % First test -- read in coffee file %in_f=''; %in_f=''; %in_f=''; in_f=''; out_f='data1.txt'; urlwrite(in_f,out_f); s=dir(out_f) assert(strcmp(,out_f)) %assert(s.bytes==1643); result1 = textCount1(out_f); assert(length(result1)==2); countE=result1(1) assert(countE==5) %countE1Correct = 468 %countWords1Correct= 731 %assert(isequal(countE, countE1Correct)); %assert(isEqual(countWords, countWords1Correct));

Error using urlreadwrite (line 90) The IP address of "" could not be determined. Error in urlwrite (line 52) [f,status] = urlreadwrite(mfilename,catchErrors,url,filename,varargin{:}); Error in Test1 (line 9) urlwrite(in_f,out_f);

Suggested Problems

More from this Author1

Community Treasure Hunt

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

Start Hunting!