Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Orbit Determination with Matlab Revisited

  1. Mar 30, 2005 #1
    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');
     
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you help with the solution or looking for help too?
Draft saved Draft deleted



Similar Discussions: Orbit Determination with Matlab Revisited
Loading...