Problem 49673. Rotate matrix by coloumns
Solution Stats
Problem Comments
-
3 Comments
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.
Yes, I agree. The Matlab function that one would use to do this operation happens to contain the string 'if' in its name.
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 Solvers18
Suggested Problems
-
Project Euler: Problem 5, Smallest multiple
1647 Solvers
-
What is the distance from point P(x,y) to the line Ax + By + C = 0?
554 Solvers
-
Permute diagonal and antidiagonal
500 Solvers
-
Generate a random matrix A of (1,-1)
399 Solvers
-
Add a row of zeros on top of a matrix
266 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!