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

2 vues (au cours des 30 derniers jours)
fei duan
fei duan le 30 Juin 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.

Réponses (1)

Muhammad Usman Saleem
Muhammad Usman Saleem le 30 Juin 2016
to plot two variable (must be of same length) as x and y
use
plot(x,y);
  2 commentaires
fei duan
fei duan le 30 Juin 2016
that doesn't help much.
Muhammad Usman Saleem
Muhammad Usman Saleem le 1 Juil 2016
What you want then?

Connectez-vous pour commenter.

Catégories

En savoir plus sur View and Analyze Simulation Results dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by