-
3 Comments
Norbert Marwan
on 2 Sep 2016
The leading solution (solution 103932) is wrong and doesn't work. The error is that the output argument "ans" is not assigned.
Jan Orwat
on 2 Sep 2016
@Norbert, this trick worked in Cody before, now it doesn't. I wrote trick, cause it was a way to have a little bit lower Cody size. It was questioned why it's not banned, because it favours bad programming practices, so changes were made.
Jung Un Park
on 7 Jul 2023
@Norbert Marwan
have to change return argument 'y' to 'ans'.
Suggested Problems
-
2766 Solvers
-
4518 Solvers
-
Back to basics 25 - Valid variable names
328 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1902 Solvers
-
5613 Solvers
More from this Author100
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!