Problem 535. Rotate and display numbered tile
Solution Stats
Problem Comments
-
2 Comments
I solved the problem using repmat but it gives a message that
"There was an issue submitting your solution
Remove inappropriate content. For guidelines, see About Cody"
Can anybody help me out ......
awesome problem!
Solution Comments
-
3 Comments
I might have misunderstood the statement, but to me the second test is wrong and td should be defined by
td = [' 8 '
' 5 27'
' 46 '];
I believe the test is correct; if north is 4 then the fourth number (46 for test 2) should appear in the north position (not 8, which is the second number)
Ah! I misunderstood the question then; I thought that there was a rotation in directions according to the north parameter, whereas the latter indicates which of the four numbers should be placed in the north position.
-
1 Comment
2 lines but a score of 132 :(
Problem Recent Solvers294
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2613 Solvers
-
Is my wife right? Now with even more wrong husband
1304 Solvers
-
Back to basics 3 - Temp Directory
358 Solvers
-
Find nearest prime number less than input number
461 Solvers
-
292 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!