how to model a collision between two particles?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Im modelling planetary motion, i have a matrix with all the distances between each of the planets so i can see whether any distances are less than a certain value. How do I combine the two planets (ie so i have one mass instead of two etc).
0 commentaires
Réponses (1)
Simon
le 7 Nov 2013
Hi!
If you already found a distance below some value, do you know both planets involved? If so you just add in your matrix both masses, apply the combined mass to one of the plantes and remove the other one from the matrix.
4 commentaires
Simon
le 7 Nov 2013
Then you simply take one planet with the sum of both masses and remove the second planet. Your calculations continue with one less planet.
Voir également
Catégories
En savoir plus sur Earth and Planetary Science dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!