Help with a code writing

10 vues (au cours des 30 derniers jours)
PS
PS le 27 Mar 2020
Commenté : PS le 27 Mar 2020
I want to create a code that simulates multiple particles coliding with the walls of a box but I dont want the particles to colide with each other.
I alredy made a script for one particle, but Im having trouble making one for multiple ones.
Can someone help me please?
  6 commentaires
darova
darova le 27 Mar 2020
I can't run your script. I have some errors. Do you have errors?
PS
PS le 27 Mar 2020
yes I have.If you take the cicle for and the i's on deltat you should see the animation with one particle.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by