diffusionT(n,duration,xMax,yMax) simulates the movement of n particles |
in a fixed frame of size [xMax, yMax].
These particles hit the wall or each other and hence change their impulse.
duration is the number of times the whole system changes.
diffusionTgleich(n,duration,xMax,yMax) shows the diffusion of
two different types of particles (each type consists of 0.5*anzahl
The distribution of the particles along the x-value is plotted afterwards.
diffusionTKurs(n,duration,xMax,yMax) draws the path of one
Usage: Type unzip diffusion.zip
Contents: diffusionT.m diffusionTgleich.m diffusionTKurs.m
This file was generated by students as a partial fulfillment
for the requirements of the course "Fractals",
2004/2005, Stuttgart University.