The problem seems to be unsolvable without "cheating".
Cody gives the errormessage "The function gt is a built-in MATLAB function. Please use a different function name."
Using a different function name, of cause, will not overload the operator '>'. How is the intended solution for the current Cody version???
@cokakola: I am not sure, either. The problem has been removed from the Functions II group.
Back to basics 18 - justification
176 Solvers
Number of 1s in a binary string
2841 Solvers
Arrange vector in ascending order
625 Solvers
Flag largest magnitude swings as they occur
582 Solvers
Piecewise linear interpolation
300 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!