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.
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.