Problem 49673. Rotate matrix by coloumns
35.14% Correct | 64.86% Incorrect
Last Solution submitted on Apr 19, 2023
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 CommentsShow comments
Problem Recent Solvers12
Add a row of zeros on top of a matrix
Find the Nth Root of a Given Number
More from this Author33
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!