Simple 2 Body Problem Sample Code

조회 수: 3 (최근 30일)
Matthew Davenport
Matthew Davenport 2021년 4월 22일
Hello,
I am working on a project that deals with solar sails and I have all the basic force and acceleration paramerters on the solar sail by the sun. I now need to do a simple orbit plot showing what this solar sails orbit would look like going around the sun. I have looked for sample code online that I could potentially use for this situation but I have not been able to find any that work with what I would like to do. If you could provide a sample code that can plot a satellite orbiting the sun at 1 AU, that would be extremly helpful!
Additionally, because my sail has an acceleration due to the sun, I wanted the velcoity to be a function of the time and the acceleration (which is a function of the angle between the sail and incoming light). Is it possible to plot a 2 body problem with an accelerating satellite? Because I have a theoretical idealized maximum acceleration, it would be simple to reduce it as a function of the angle of incoming light.
Thank you for your help!

답변 (0개)

카테고리

Help CenterFile Exchange에서 Satellite and Orbital Mechanics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by