Cody

Solution 1131165

Submitted on 28 Feb 2017 by Jean-Marie Sainthillier
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 = 'x = [2,5; 5,5; 4,3];'; y_correct = 'y = [2.5; 5.5; 4.3];'; assert(isequal(translate(x),y_correct)) x = 'x = [2,25; 5,35; 4,13];'; y_correct = 'y = [2.25; 5.35; 4.13];'; assert(isequal(translate(x),y_correct))

ans = y = [2.5; 5.5; 4.3]; ans = y = [2.25; 5.35; 4.13];