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 Solvers12
Suggested Problems
-
"Low : High - Low : High - Turn around " -- Create a subindices vector
527 Solvers
-
Permute diagonal and antidiagonal
428 Solvers
-
383 Solvers
-
Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
620 Solvers
-
696 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!