Problem 49673. Rotate matrix by coloumns
33.33% Correct | 66.67% Incorrect
Last Solution submitted on Nov 13, 2022
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 ;-)
Problem Recent Solvers11
Select every other element of a vector
Create a vector whose elements depend on the previous element
More from this Author33
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!