I has posted on here about 6 months ago about trying to create a matlab code for determining the orbital elements of a body about earth from three seperate observing times . I am having trouble with some of the code. The very last command is the "solve" command and it is supposed to solve the two equations in parenthesis, but it returns an error saying "unable to find closed form solution".... any ideas why? or any suggestions for another approach to solve these two equations??--Thanks(adsbygoogle = window.adsbygoogle || []).push({});

R2Magnitude=(sqrt(sum(R2.^2)))^2;

variable=transpose(u2)*R2;

[rho2,rr]=solve('(A+(B/rr^3))-rho2=0','((rho2)^2)+(R2Magnitude)-((2*(rho2))*(variable))-(rr^2)=0');

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Orbit Determination with Matlab Revisited

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

**Physics Forums | Science Articles, Homework Help, Discussion**