Monte Carlo Code to estimate satellite velocity

6 views (last 30 days)
The problem is as following :
-Write a Monte Carlo code in matlab to estimate the velocity required to launch a satellite into circular orbit 200km above the surface of the earth.
-Create an animation to show the satellite orbiting.
-You are able to measure the distance from the surface to the satellite, however the measurements are normally distributed with a standard deviation equal to 1% of the orbital distance. You must have 100 test satellites in orbit.
Please kindly teach me how to do monte carlo simulation on this problem. Thank you so much !
  2 Comments
Kirby Fears
Kirby Fears on 20 Nov 2015
Edited: Kirby Fears on 20 Nov 2015
Specifically,
Don't expect the answer handed to you all at once. Put in some effort and ask specific questions along the way.
You'll want to make random draws from the normal distribution with your specific parameters using the randn() function.
You'll also want to read up on making an animation in Matlab.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 20 Nov 2015
Basically a Monte Carlo program is based on generating random numbers and using one or more of them during each "run" or "experiment". I only have two demos using the Monte Carlo technique, and they are attached. Feel free to adapt. For your case I guess you'd launch the satellite with random velocities and see which ones reach and maintain a stable orbit. I don't know why you'd use Monte Carlo for that instead of a more deterministic method like a for loop where you progressively change the velocities, but I guess your professor has his/her reasons (perhaps it's just so you'll learn the Monte Carlo method).
For the animation you might use the animatedLine function - I have not used it yet so I can't help you. Or you can use the old comet() function.

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!