MATLAB Orbit Determination with Matlab Revisited

  • Thread starter stupid6625
  • Start date
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

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');
 

Want to reply to this thread?

"Orbit Determination with Matlab Revisited" You must log in or register to reply here.

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving
Top