Very nice problem to solve
测试套件不喜欢内置功能。说有太多的输出论点!
Is there something wrong with the test suite? The assertion fails and I get the following message:
“使用旋转太多的输出参数的错误。在Testpoint1(第3行)断言中的错误(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
Return the largest number that is adjacent to a zero
3767 Solvers
3251 Solvers
How to find the position of an element in a vector without using the find function
2481 Solvers
How long is the longest prime diagonal?
340 Solvers
Implement simple rotation cypher
952 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!