Prerna Mishra
Followers: 0 Following: 0
統計
MATLAB Answers
18 質問
0 回答
ランク
of 154,105
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
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...
2年弱 前 | 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...
2年弱 前 | 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