Cody

Solution 173373

Submitted on 5 Dec 2012 by Evan
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