(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

Hi, I'm trying to simulate an electrostatic craft going from low earth orbit to a geostationary orbit, but I'm having some trouble with matlab. I'm not the most confident programmer at the best of times, but needs must and so I've given it a go. As far as I can tell my syntax is correct, but I can't seem to get the correct outputs. The main aim that I have is to get the program to produce a plot of the spiral orbit, but it isn't playing ball.

Basically I think I've been staring at the code for too long and can't see where I'm going wrong, so some help would be greatly appreciated.

Thanks

2. Relevant equations

3. The attempt at a solution

I've included the 3 files that I'm using, the main file being LEO-GEO orbit xfer

If anyone can suggest any tweaks or things that I'm missing that would be great, also, the code is supposed to ask me to input a value for the thrust, but I never seem to get a prompt - again, maybe I'm missing something here.

Thanks Again

**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!

# Matlab - need help - final year project (ion propusion)

Loading...

Similar Threads for Matlab need help |
---|

MATLAB MATLAB: forces acting on an object |

MATLAB Matlab histogram |

MATLAB Sovling Bernoulli's differential equation in matlab? |

MATLAB Matlab-like software |

MATLAB Help needed to fix a matlab code |

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