Cepheid,
Thanks man. Turns out that it was because my Cartesian ellipse was centered at the origin. I made the correction and it works fine now.
Appreciate the help.
Forgive me if this is in the wrong thread I'm new here.
I am trying to plot an orbit in MatLab using Kepler's First law of motion. In polar form it works fine r(θ) = h^2/μ*(1/(1+e*cos(θ)))
h = angular momentum μ = standard gravitational constant and e = eccentricity.
The problem is I'd...