Cody

# Problem 43169. Frequency Analysis of Text

Solution 1994368

Submitted on 28 Oct 2019
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
x = 'This is a very good day' y_correct = [2 0 0 2 1 0 1 1 2 0 0 0 0 0 2 0 0 1 2 1 0 1 0 0 2 0] assert(isequal(count_alphabet(x),y_correct))

x = 'This is a very good day' y_correct = 2 0 0 2 1 0 1 1 2 0 0 0 0 0 2 0 0 1 2 1 0 1 0 0 2 0 f = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Assertion failed.

2   Fail
x = 'hAvE you Been haVInG fun so FaR ?' y_correct = [3 1 0 0 3 2 1 2 1 0 0 0 0 3 2 0 0 1 1 0 2 2 0 0 1 0] assert(isequal(count_alphabet(x),y_correct))

x = 'hAvE you Been haVInG fun so FaR ?' y_correct = 3 1 0 0 3 2 1 2 1 0 0 0 0 3 2 0 0 1 1 0 2 2 0 0 1 0 f = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Assertion failed.

### Community Treasure Hunt

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

Start Hunting!