Matlab Coding for a spacecraft

3 Comments

We are reluctant to open a pdf file. Please post your question as clear text.
Sorry the question has certain figures I can’t post in text
The problem is, this is just your homework assignment. We cannot just give you code to do your work, when no effort is even shown on your part.

Sign in to comment.

 Accepted Answer

James Tursa
James Tursa on 13 Apr 2020
Edited: James Tursa on 13 Apr 2020
Thanks for the image post. So, this is a standard orbital proximity operations relative motion question. The equations in your question are known as the Clohessy-Wiltshire Equations. You can research that on the web. These have a closed form solution. Not knowing how much help is allowed for this homework question, I will simply point you to a website that has some information on it:
The variable names in this link are switched from yours ... x is y and y is x. So you will have to deal with that.
What are you supposed to do for your homework? Solve the differential equations on paper and show your work? Use an integration scheme such as ode45( ) or your own hand-coded RK4 integrator to solve it numerically? Or ...?
To answer the question about periodic orbits that return you to the exact starting point, I would direct your attention to any parts of the solution that contain secular terms (terms with "t" in them that are not inside a sin( ) or cos( ) function). Ask yourself what restrictions there must be on the initial conditions in order for the coefficients on these terms to combine to be 0?

More Answers (0)

Categories

Find more on Gravitation, Cosmology & Astrophysics in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!