Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
t = [1 5 7 9];
north = 3;
td = [' 7 '
' 5 9'
' 1 '];
assert(isequal(rotate_tile(t, north),td))
|
2 | Pass |
%%
t = [27 8 5 46];
north = 4;
td = [' 46 '
' 5 27'
' 8 '];
assert(isequal(rotate_tile(t, north),td))
|
3 | Pass |
%%
t = [9 57 75 9];
north = 2;
td = [' 57 '
' 9 75'
' 9 '];
assert(isequal(rotate_tile(t, north),td))
|
2486 Solvers
Given an unsigned integer x, find the largest y by rearranging the bits in x
780 Solvers
Create a cell array out of a struct
508 Solvers
Convert a numerical matrix into a cell array of strings
455 Solvers
187 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!