Cody

Solution 1255741

Submitted on 23 Aug 2017
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   Fail
x = { /*[0..10]*/ 0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10, /*[10...25]*/ 100, 110, 120, 130, 140, 255 /* 0., 0., 2., 0., 4., 0., 6., 0., 8., 0., 00., 0., 10., 10., 10., 05. */ } /* BHA: 2^0 OFF: 0 MIN/MAX: 0 .. 25 */; ; y_correct =[0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10 , 100, 110, 120, 130, 140, 255]; assert(isequal(your_fcn_name(x),y_correct))

Error: File: Test1.m Line: 1 Column: 5 Expression or statement is incomplete or incorrect.

2   Fail
x = { /*[0..10]*/ 0, 1.1, 21, 31, 41, 55, 50, 10, 810, 9.10, /*[10...25]*/ 100, 110, 120, 130, 140, 255 /* 0., 0., 2., 0., 4., 0., 6., 0., 8., 0., 00., 0., 10., 10., 10., 05. */ } /* BHA: 2^0 OFF: 0 MIN/MAX: 0 .. 25 */; ; y_correct =[0, 1.1, 21, 31, 41, 55, 50, 10, 810, 9.10 , 100, 110, 120, 130, 140, 255]; assert(isequal(your_fcn_name(x),y_correct))

Error: File: Test2.m Line: 1 Column: 5 Expression or statement is incomplete or incorrect.