Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Solution 298234

Submitted on 8 Aug 2013 by Binbin Qi

Correct

16Size
Leading solution size is 9.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test
Code Input and Output
1
Pass
 
%%
birthRateChina = [16.12, 15.95, 15.85, 12.96, 12.98, 13.14, 13.25, 13.45, 13.71, 14, 12.17, 12.29, 12.31];
birthRate5China_correct = [16.12, 13.14, 12.17];
assert(isequal(GetBirthRate5China(birthRateChina),birthRate5China_correct))