Problem 61027. The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route

Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readings are stored in the vector d.
Your task is to calculate the average speed between each consecutive reading.
Return a vector containing the speed (in meters per second) between every pair of consecutive distances.
This will help you reconstruct how fast the suspect was fleeing the scene!

Solution Stats

70.0% Correct | 30.0% Incorrect
Last Solution submitted on Oct 23, 2025

Solution Comments

Show comments

Problem Recent Solvers7

Suggested Problems

More from this Author22

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!