Random Agent based simulation of a financial market

Based on

Lecture with Computer Exercises: Modelling and Simulating Social Systems with MATLAB Agent Based Simulation of a Financial Market