Cody

Solution 655169

Submitted on 18 Apr 2015 by N/A
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))

ans = 96.3000

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

ans = 93.8750