Problem 115. Distance walked 1D
Solution Stats
Problem Comments
-
11 Comments
Amitava, can you give a clearer idea of what your function inputs and outputs should look like?
If you leave one test the solution is simply 9. As is this submission is very poor.
Needs generalization and a larger test suite.
This is a pretty good idea for a problem but it's *very* poorly stated.
I cleaned up the problem statement and added a few more tests.
good idea...
Very good problem. I had to solve the same one to determine whether a signal was oscillating or stable.
Interesting problem
nice problem
nice...
Great problem!
Solution Comments
Show commentsProblem Recent Solvers2405
Suggested Problems
-
1973 Solvers
-
1954 Solvers
-
Back to basics 9 - Indexed References
428 Solvers
-
Create matrix of replicated elements
366 Solvers
-
600 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!