This type of problem kills the Cody.
@Jean-Marie Sainthillier: thanks for pointing this out. I made some improvements and changed the function name, which should cause prior solutions to be invalidated.
@Fatih KIRCI: as originally posted, this problem was prone to be deleted. Instead, I improved it. Please take notes of these changes as to how you can improve any other problems you publish. For example, any problem should have multiple test cases.
Thank you Grant
Rotate input square matrix 90 degrees CCW without rot90
392 Solvers
Finding an element in a vector
142 Solvers
142 Solvers
352 Solvers
Sum of elements in a vector (★)
81 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!