Problem 49673. Rotate matrix by coloumns
Rotate matrix by coloumns n times
Solution Stats
Problem Comments
-
3 Comments
Dyuman Joshi
on 1 Jan 2021
Can you change the test suite for checking if statement use to 'else'.
I am using a function in which contains the string 'if' and I am unable to solve the problem.
William
on 3 Jan 2021
Yes, I agree. The Matlab function that one would use to do this operation happens to contain the string 'if' in its name.
J.R.! Menzinger
on 4 Aug 2021
Indeed, please change the 'If' check by 'if ' (with a white space right behind the text.
The instruction "if" will be always followed by a space ;-)
Solution Comments
Show commentsProblem Recent Solvers12
Suggested Problems
-
39866 Solvers
-
Back to basics 22 - Rotate a matrix
887 Solvers
-
Penny flipping - calculate winning probability (easy)
180 Solvers
-
355 Solvers
-
Find the area of the four walls
270 Solvers
More from this Author33
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!