Cody

Solution 231705

Submitted on 17 Apr 2013 by Tanguy
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))
p = ans = MATLAB
2   Pass
%% x = 'MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))
p = ans = MATLAB
3   Pass
%% x = ' MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))
p = ans = MATLAB
4   Pass
%% x = ' MATLAB '; y_correct = ' MATLAB '; assert(isequal(justify(x),y_correct))
p = ans = MATLAB