To plot the trajectories of hyperbola, parabola and ellipse in matlab, you need to define their equations and then use the "plot" command. Here's how you can do it:
main.m296 chars18 lines
main.m208 chars14 lines
main.m285 chars18 lines
Note: You can modify the values of "a" and "b" in each equation to change the shape and size of the curves.
gistlibby LogSnag