- #1

- 91

- 0

**Quick MATLAB help --> Setting a termination point on a plot.**

I have this kinematics problem on dropping a ball from a building a few meters high. When I plot the position vs time graph, it starts at lets say 50 meters high, I get a plot of an upside down parabola, as expected, but my plot continues down below 0. Is there a way to tell MATLAB to stop calculating/plotting values when x=0?

Thanks.