Cody

Solution 492008

Submitted on 27 Aug 2014 by Pritesh Shah
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 = ' MATLAB'; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))

ans = MATLAB

2   Pass
%% x = 'MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))

ans = MATLAB

3   Pass
%% x = ' MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))

ans = MATLAB

4   Pass
%% x = ' MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))

ans = MATLAB