plotting two objects in the same figure

I have a question please help me out on it. I want to plot two object. the first object is thrown at a hight until it reaches its highest point, at that time the second object realized at that height that has a free falling object, and the first object continue its pass until both of them hit the ground. both both must be in the same loop, and I don't know how to show both of them at the same time and the two loops that are inside of each other be independent.

Réponses (1)

Image Analyst
Image Analyst le 10 Mai 2017
Put hold on in between the plots:
plot(..................
hold on;
plot(..................
See my attached projectile demo.

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by