統計
MATLAB Answers
4 質問
0 回答
ランク
of 174,580
コントリビューション
0 問題
0 解答
スコア
0
バッジ数
0
コントリビューション
0 投稿
コントリビューション
0 パブリック チャネル
平均評価
コントリビューション
0 ハイライト
平均いいねの数
Feeds
質問
How can I make this code more efficient?
close; clear all; clc; global cp1 vp1 cp2 vp2 value gk; A=1; % aggregate productivity a=0.36; % capital share of output (...
約7年 前 | 0 件の回答 | 0
0
回答質問
How to vectorize these nested for loops
for i=1:knum for j=1:knum cp1(i,j)=max(pf(kgrid(i))+(1-depreciation)*kgrid(i)-kgrid(j),0); vp1(i,j)= log(cp1(i...
約7年 前 | 0 件の回答 | 0
0
回答質問
Any way to make this code take up even less lines?
clear; close all; clc; iif = @(varargin) varargin{2 * find([varargin{1:2:end}], 1, 'first')}(); d = @(x)mod(x,2); e = @(x...
約7年 前 | 1 件の回答 | 0
1
回答質問
How to make MATLAB code run faster
How do I speed this script up? nuke; h = 16; %hours available K = 15; %Capital z = 1; %Total factor productivity t = 0; ...
7年以上 前 | 1 件の回答 | 0
