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 Solvers17
Suggested Problems
-
Return the first and last characters of a character array
11717 Solvers
-
194 Solvers
-
657 Solvers
-
Area of an equilateral triangle
6752 Solvers
-
Flip the vector from right to left
10582 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!