Which module(s) do I need for this project, please?

7 vues (au cours des 30 derniers jours)
Keith Elliott
Keith Elliott le 6 Juin 2018
Commenté : Keith Elliott le 6 Juin 2018
Please could you offer advice on which module(s) (I have not bought matlab yet, trying to decide whether to do so) would be best to help me create a simulation of our solar system's interconnected motion in 3D with dynamic 3D graphical output (simple gravity, velocity & xyz co-ordinate motion approach) (on an i7 home computer). Thanks.
  2 commentaires
Rik
Rik le 6 Juin 2018
The more work you're prepared to do on your own, the less you will need the Symbolic toolbox. What calculations/simulations are you planning on doing?
Keith Elliott
Keith Elliott le 6 Juin 2018
I propose to take xyz start positions and velocities (heliocentric) then calculate compound vector gravitational effect (sum of the Gm/r^2) by each body on each body in turn and apply this to create end xyz position for each body(assuming one second time elapse per cycle). Then repeat.
In practice I would start with a 2d, 2 body model and progress to 3d multi body model.
What I would like is to see 3D graphical output of body positions (plus their orbital history) as calculations progress.
thanks in advance.

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 6 Juin 2018
If you are simulating as point masses, and you are not trying to make predictions, and you are not trying to do things like plan flight paths, then basic MATLAB is enough for that.
Basic MATLAB is also enough to do some flight path planning such as by using ode45() and possibly solve boundary conditions.
More complicated situations might end up needing the PDE (Partial Differential Equations) toolbox, and maybe the Optimization Toolbox.
If you were wanting to find equations instead of doing particle simulations, then Symbolic Toolbox.
  1 commentaire
Keith Elliott
Keith Elliott le 6 Juin 2018
Exactly that. Simple point masses. Just for fun. Until I'm happy it works then I can later consider perturbations. Thanks.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Gravitation, Cosmology & Astrophysics dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by