It needs more test cases. It is not clear what the output should be for all possible x.
5835 Solvers
Make an awesome ramp for a tiny motorcycle stuntman
334 Solvers
1425 Solvers
253 Solvers
530 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!