How to calculate different velocity zones

1 view (last 30 days)
Aragorn23
Aragorn23 on 31 Oct 2017
Answered: Kuifeng on 31 Oct 2017
Hi all. I have the x and y coordinates of a moving object. I already calculated the total distance and the average velocity of that object. However, I want to know the object velocity, in four different velocity zones, over time. How can I do it?
  3 Comments
Aragorn23
Aragorn23 on 31 Oct 2017
Maybe "velocity zones" are not the best expression. I want to know the object velocity in diferent speed categories (low, moderate, high...).
KSSV
KSSV on 31 Oct 2017
If you have (x,y) coordinates/ locations / positions at different time steps...then dx/dt gives velocity.

Sign in to comment.

Answers (1)

Kuifeng
Kuifeng on 31 Oct 2017
I believe the categorical function is what you ware looking for. Check categorical function and check 'Bin Numeric Data into Categories'

Categories

Find more on Time Series in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!