This problem has been generalized so that distance and time are variables. Also, the test suite has additional test cases.
How to find the position of an element in a vector without using the find function
2478 Solvers
309 Solvers
664 Solvers
214 Solvers
69 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!