Difference of two 2-dimensional matrices
Show older comments
Dear all,
I have the x and y positions of a certain object at 1 second intervals in time. The x positions are stored inside a 1xn matrix, where n is the number of seconds for which the data was obtained. The y positions are also stored inside a 1xn matrix, where n is again the number of seconds for which the object was observed. Now I need to obtain the velocity of the object. I could obtain the x and y velocities separately and store them inside two new matrices by using the diff() function on both x and y position matrices, but I need the velocity of the object as a whole. Can anybody please advise what to do? Thanks.
Accepted Answer
More Answers (1)
Categories
Find more on Polynomials 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!