Calculating the velocity (vector) from a 2-Dline
Show older comments
Hi all I have a line (path) which is drawn by mouse on the screen. The line is 3 column vector [X Y T] where x is the x position along x-axis, y is the y position along Y-axis and T is the time (second) that x,y are registered.
ex. line = [10, 1, 1.2; 12, 2, 1.3; ...]
Since the data (line) is discrete I am confused in calculating the velocity vector. further in calculating the acceleration vector (if needed)
can you help me in resolving this issue?
thanks, P
Accepted Answer
More Answers (1)
Kubugha Bunonyo
on 12 Dec 2016
1 vote
What if we are dealing with and image ?
Categories
Find more on Resizing and Reshaping Matrices 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!