![]() % loop over each angle and create the plot for its trajectory. Clear clc close all vo = 100 % initial velocity, m/s a = - 9.8 % acceleration, m/s^2 angle = 5 : 10 : 85 % angles in degrees angle = angle * pi / 180 % convert to radians figure hold on % create a figure and hold it for multiple lines.
0 Comments
Leave a Reply. |