Questions tagged [matlab]
The application of the multi-paradigm programming language "MATLAB" to economic problems.
8
questions
2
votes
0
answers
11
views
Is there good primer for distributional macroeconomics?
Distributional macroeconomics (for example; works of Ben Moll) seems to be more and more popular these days.
Is there any good primer for student that wants to try to get into this new field? I am ...
1
vote
0
answers
20
views
Need help with numerical implementation of a model
I am toying around with a capital structure model that looks as follows:
$\sup_{D_{t}(A_{t}),K_{t}}\int_{B_{L}}^{B_{H}}(1-\kappa_{t})\pi(t,A_{t},K_{t},B_{t})g_{t}(B_{t})dB_{t}+\kappa_{t}D_{t}(A_{t})[1-...
-3
votes
1
answer
79
views
full rank left annihilator matrix
Suppose I have a matrix A= g=[Vfc/(x1Cdc),x4/(x1Cdc),-x3/Cdc;0 0 0;0 0 x1/Lcpl;0 -1/Cb 0] and I want to find the full rank left annihilator matrix B such that B*A=0. I am using MATLAB.
0
votes
0
answers
67
views
Stochastic Optimization
I am working on a Data Panel project that is about macro volatility, taking into consideration some quality indicators. According to my model, indicators definitely determine macro variables. Data are ...
0
votes
1
answer
71
views
How to assign a set of parameters to a macroeconomic model in Matlab?
I am trying to assign a vector of values (v= [1/3 0.01 0.5]) to a vector of parameters (w = [alpha beta gamma]) in order to make ...
2
votes
1
answer
431
views
Matlab: Solow Model Convergence of capital
I am currently trying to create a while-loop which iterates the evolution of the capital stock until it converges on the n-th digit. As I am still quite new to Matlab I face a lot of problems. I would ...
2
votes
1
answer
98
views
Matlab: While loop in function
I am new to Matlab (& also to stackexchange) and I need to learn it for a dynamic Macro class.
I have trouble using a while loop in a function. The function is supposed to calculate the amount of ...
2
votes
0
answers
336
views
MATLAB code: Plot utility function and budget constraint
how do i plot these?
i have this utility function: $$U(x_1,x_2)=\log(x_1)+\beta \log(x_2)$$
and this budget constraint: $$p_1 x_1+p_2 x_2=R$$ where $R=3, p_1=0.5, p_2=0.5$
i dont know how to plot ...