Vectorized Binning in Matlab
In fluids modeling, a really easy way to build an model of a scalar (e.g., a polutant or chemical) that is transported by a flowfield is using a particle tracking model. Here, you have millions of finite particles, with x and y locations (and possibly mass). building code to advect the particles by the flow-field and diffuse them based on...Read More