How to work on a three dimensional set of values (randomly selected) with fixed end points and find the change in coordinates with respect to time.

1 view (last 30 days)
Let us say we have fixed starting and ending point of the path. But the intermediate points are randomly selected.Now after every time interval (can be frequency also , if it is effective), the change in each coordinate ( in terms of x or y or z) from the previous value should be compared so as to know the distance travelled and the direction as well.once we have the distance covered (and the axis where the coordinate change is observed) we have to find the velocity to show the velocity increase in that direction (x or y or z).and then i want to calculate the acceleration from the velocity values.
I want to understand the logic behind the code to be made.So please do not write just the code and let it off your shoulder , but do explain me the logic used for programming.I am a beginner and any help to make my coding life easy would be really appreciated.
  1 Comment
Matt J
Matt J on 7 Nov 2018
Edited: Matt J on 7 Nov 2018
So please do not write just the code and let it off your shoulder
Don't worry. We're not going to code it for you at all. We're going to let you code it, but give you help at particular places where you get stuck.
Even if we were willing to code it for you, we couldn't based on information you've provided so far. A velocity calculation requires some parametric model [x(t), y(t), z(t)] of the curve that you would need to provide.

Sign in to comment.

Answers (0)

Categories

Find more on Programming 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!