The following Matlab project contains the source code and Matlab examples used for computing general economic equilibrium. I write the function to compute the general (economic) equilibrium in an n-commodity, m-agent (firms or/and consumers) economy. I use it mainly in teaching. Examples are provided in general_equilibrium_example.m.
The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.