![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16123900_1567615697941_DEF.jpg)
Prerna Mishra
Followers: 0 Following: 0
Feeds
질문
Returning multiple values in fminbnd
I am trying to solve a dynamic optimization problem in which I solve for optimxal capital and debt. The problem is structured su...
1년 초과 전 | 답변 수: 0 | 0
0
답변질문
Method of moments using genetic optimization
I am trying to calibrate a model using simulated method of moments. I have a function f_SMM that calculates the model moments an...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
Vector operation giving complex numbers
I am running the followng arithmetic. blog_mean = 0.5000; blog_var = 0.04; beta = .15; sigma = -1.14 x = blog_mean + ran...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
2-d interpolation in matlab
I have a matrix v0 nd*nk*na, which depends on values of d, k and a. I want to interpolate the matrix v for values of d and k whi...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
fminsearch error while optimizing over one value in neoclassical growth model
I am trying to solve the stochatic neoclassical growth model using fminsearch. My main function has the following code: clear a...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
fminbnd error while solving the neoclassical growth model
I am using fminbnd to solve the neoclassical growth model and I have the following code for main.m clear all; close all; ti...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Numerical Double Integral in Matlab
I have to do the following integration in matlab b is log normally distributed and I have a vector of 100 random number for b...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
Constrained regression with constrains on the slopes
I was the following regeression specification ln Q = ln A + alpha * ln K + beta * ln L I want to fins alpha and beta such t...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Calculating mean across a column and then subtracting it from all observations based on a row condition
I have a data frame that looks as follows: 1266 2005 247.694000000000 3.30900000000000 12.6660000000000 55.5250000000000 1266 ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How do I use gaoptim toolbox?
How can I install Global Optimization Toolbox? I am trying to use gaoptimset but I keep getting the following error: 'gaoptimse...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
How so subset observations in a matrix?
I have a matrix that has the follwing columns: [GVKEY FYEAR SALE ASSET] FYEAR ranges from 2005-2019 and there are many GVKEYs ...
대략 2년 전 | 답변 수: 2 | 0
2
답변질문
How to get coordinates of largest element in an array?
I have an array RHSvec that looks as follows: RHSvec = [-2.37702213697260e+17 -2.33711662054550e+19 -615937600693473 -4.41919...
대략 2년 전 | 답변 수: 2 | 0
2
답변질문
How to find the row and column of the largest number in an array?
Hello, I am new to matlab and I am stuck with this. If I have a matrix A as follows: 4.4347 4.5156 4.462 4.7074 1.111 .98...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Adding values along different dimensions in an array
I have an array kdsimind that has dimensions 5000X5000X35. I want to initialize is such that along the first dimension I have fl...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Add dimensions to a matrix
My RHSvec is a 51X21 matrix. kdpolind is 11X51X21. Doing the following: [RHSval,kprimeind] = max(RHSvec,[],2); gives me a 51...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
Using ddp solve for optimization over two variables
I have a dynamic programming model, in which the Value of firm today depends on the productivity shock today, capital today, cap...
대략 2년 전 | 답변 수: 0 | 0
0
답변질문
Extracting along a dimension in a 4D array
I have a 4D array of dimsension na*nk*nkprime*nd, each dimension representing, number of shock, number of capital today, number ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
fminsearch with integrals and parameters
I am new to using fminsearch in matlab. I want to find the minimum value of the following function: where For now, I assu...
2년 초과 전 | 답변 수: 1 | 0