Cody

Solution 1591074

Submitted on 24 Jul 2018 by Rafael Hernandez-Walls
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   Pass
x = [100 98 95 103 84 98 87 105 95 98]; y_correct = 96.3; assert(isequal(average_pitch(x),y_correct))

y = 96.3000

2   Pass
x = [100 90 95 90 92 90 94 100]; y_correct = 93.875; assert(isequal(average_pitch(x),y_correct))

y = 93.8750