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.

回答 (1 件)

Image Analyst
Image Analyst 2017 年 5 月 10 日

0 投票

Put hold on in between the plots:
plot(..................
hold on;
plot(..................
See my attached projectile demo.

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

質問済み:

2017 年 5 月 10 日

回答済み:

2017 年 5 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by