Cody

Solution 1009184

Submitted on 11 Oct 2016 by myung hyun Kim
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 1; y_correct = [2.340 3.120 4.143 5.323 6.536 7.610 8.653 9.433]; assert((mean(your_fcn_name(x)-y_correct)<0.001))

x = 1 2 3 4 5 6 7 8 9 10 y = Columns 1 through 9 1.7100 2.0300 3.2800 4.0500 5.1000 6.8200 7.6900 8.3200 9.9500 Column 10 10.0300 z = 2.3400 3.1200 4.1433 5.3233 6.5367 7.6100 8.6533 9.4333