Cody

Solution 2036416

Submitted on 27 Nov 2019 by Asif Newaz
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 '