Cody

Problem 44252. Deleting Specific part.

Solution 2850920

Submitted on 19 Aug 2020 by Raghunadh N
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 = {[0, 11, 21, 31, 41, 55, 50, 10, 810, 9.10, 100, 110, 120, 130, 140, 255]}; 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))

ans = 0 11.0000 21.0000 31.0000 41.0000 55.0000 50.0000 10.0000 810.0000 9.1000 100.0000 110.0000 120.0000 130.0000 140.0000 255.0000

2   Pass
x = {0, 1.1, 21, 31, 41, 55, 50, 10, 810, 9.10, 100, 110, 120, 130, 140, 255}; 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))

ans = 0 1.1000 21.0000 31.0000 41.0000 55.0000 50.0000 10.0000 810.0000 9.1000 100.0000 110.0000 120.0000 130.0000 140.0000 255.0000

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!