Have I done these figures correctly? If yes, how can I save them as a Jpg or png file?

2 ビュー (過去 30 日間)
J
J 2015 年 2 月 22 日
編集済み: J 2015 年 2 月 22 日
Could anyone tell me if I have done the three figures listed here correctly? If they are correct, how can I save them as a jpg or a png file? I have attached an *.m file for each one of the figures. Thank you very much in advance.
Figure 1 (Vary firing angle): Plot 5 second trajectories for an object with initial velocity 10 m/s. Generate a single figure that shows the trajectories for all of the following angles: 0, pi/8, pi/4, 3pi/8, pi/2, 5pi/8, 3pi/4, 7pi/8, pi
Figure 2 (Vary initial velocity): Plot 5 second trajectories for an object with firing angle pi/4. Generate a single figure that shows the trajectories for the following initial velocities: 0, 1, 2, 3, 4, …, 18, 19, 20 m/s.
Figure 3 (Vary gravity): Plot 5 second trajectories for an object with firing angle pi/4 and initial velocity 10 m/s. Generate a single figure that shows the trajectories for all of the following gravity: -20, -15, -10, -5, 0, 5, 10, 15, 20 m/s2

回答 (1 件)

James Bell
James Bell 2015 年 2 月 22 日
Seem fine to me when I run them. Why not just run them yourself?

カテゴリ

Help Center および File ExchangeGraphics Performance についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by