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

조회 수: 1 (최근 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 CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by