MATLAB Answers

fei duan
0

Plot displacement v.s time of an area from a video

Asked by fei duan
on 30 Jun 2016
Latest activity Commented on by Muhammad Usman Saleem on 1 Jul 2016
Hello, please help! I don't know how to program this.
I am trying to plot the displacement of an area (or a point) versus time of from a video. How do I do that? The object moves in both X-direction and Y-direction. So I need two graphs, one is the displacement in the X-direction, and one is in the y-direction.
Thank you very much ! F.

  0 Comments

Sign in to comment.

1 Answer

Answer by Muhammad Usman Saleem on 30 Jun 2016

to plot two variable (must be of same length) as x and y
use
plot(x,y);

  2 Comments

that doesn't help much.

Sign in to comment.