File Exchange

image thumbnail

General Economic Equilibrium

version 1.0 (10.3 KB) by

2-Goods 2-Consumers General Economic Equilibrium



View License

Simulink implementation of a General Economic Equilibrium with 2 firms and 2 consumers. The model features two general level-2 masked s-functions. The first one implements the consumer, which maximizes his utility function, and the second implements the firm, which maximizes its profit.
This was taken from: "Economics: a Mathematical Introduction", C.J. McKenna and Ray Rees, Chapter 14.

Comments and Ratings (3)

It is very useful.


I developed a function to compute general economic equilibrium including n commodities and m agens(firms or consumers). If it's useful for anyone I will upload it.


sepide (view profile)

I'm new to MatLab and I am triying to solve a model for social security reform with genera equilibrium model. Does anyone have a good resource to help guide me through the process?
Theoretically, I know what I'm supposed to do to solve, but I just don't have a clue as to how it works in MatLab.

MATLAB Release
MATLAB 7.0.1 (R14SP1)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today