Variables as a function of time

Riccardo Maione's picture
Submitted by Riccardo Maione on Tue, 12/15/2015 - 13:56

Hello,

this is a Matlab script to evaluate the mass of two species and their mean radial position as a function of time
there is also a routine to individuate region of space with a predetermined number of particles,
If it is usefull I have plenty of these script I use to evaluate different variables as a function of time (like segregation exc.)

best regards
Riccardo

AttachmentSize
Plain text icon j.m.txt5.2 KB
Theo_Score's picture

Theo_Score | Thu, 04/28/2016 - 03:03

Thank you Riccardo for this post. I mean to evaluate segregation in a bin. I have run the full simulation and now i want to quantify segregation. I want to use a N/ (N+No) as the segregation ratio measure in which N and No are number of a certain class type at t=t and t=0 (Intial condition) respectively.

I would appreciate any help with this.