Cody

Problem 44252. Deleting Specific part.

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.

Suggested Problems

More from this Author2

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!