Very nice problem to solve
The test suite does not like the inbuilt function . Says there are too many output arguments!
Is there something wrong with the test suite? The assertion fails and I get the following message:
"Error using rotate Too many output arguments. Error in TestPoint1 (line 3) assert(isequal(rotate(x),y_correct))"
Yes it rotate is an inbuilt MATLAB function and it overshadows this. Changed the function name to rotateBy90
quite easy
3924 Solvers
407 Solvers
Project Euler: Problem 7, Nth prime
537 Solvers
find the maximum element of the matrix
354 Solvers
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
773 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!