photo

ektor


Last seen: 6ヶ月 前 2012 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 4

バッジを表示

Feeds

表示方法

質問


How to run selected matlab code?
Hi, How can I execute highlighted code? I do not want to run code of a particular sector but the code that I just highilght....

7ヶ月 前 | 1 件の回答 | 0

1

回答

質問


autocorrelation plot without the grid of lines
Hi all, I am using the function autocorr(). However, it produces the graph with a grid of vertical and horizontal lines. Is ...

7ヶ月 前 | 2 件の回答 | 0

2

回答

質問


Create mean y values by multiple groups in one graph
Dear all, I have a snippet of my panel id Year y Cat1 Cat2 Cat3 Cat4 1 2000 45 1 0 0 0 1 2001 56 1 0...

8ヶ月 前 | 2 件の回答 | 0

2

回答

質問


create an increasing series
Hi all, I want to create 5 5(1+0.2^2)= 5(1+0.2^2+0.2^4)= 5(1+0.2^2+0.2^4+0.2^6)= 5(1+0.2^2+0.2^4+0.2^6+0.2^8)= and ...

約1年 前 | 1 件の回答 | 0

1

回答

質問


Going back in time 1 week or a year
Dear all, I attach a data set of weekly observations on an index. Suppose that I am in week 2023/6/16 (yellow cell). For...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


combining two histograms by category
Dear all, I attach a matlab code that constructs two histograms by category (two categories in total) I am trying to merge ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


calculating the difference in dates
Dear all, I attach an excel that contains years and months. For example the first row reads 2025 7. Today we have 2023 7 I ...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


constructing a table from a particular data set
Dear all, I have the attach data set and the goal is to construct a table also attached but I do not know if matlab can do su...

1年以上 前 | 2 件の回答 | 0

2

回答

質問


loading multiple xlsx files using for loop and readmatrix
Dear all, I have a number of excel files with the names: model_1.xlsx model_2.xlsx model_3.xlsx . . . model_100.xl...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Is there anything faster than the below specified Matlab structure?
Dear all, This is what I have as a matlab structure: I first specify the following general function function [KK1, KK2]= f...

約2年 前 | 1 件の回答 | 0

1

回答

質問


slice sampler with constraints
Dear all, I have a function logPDF=@(x) logpost_1(x, y, lam0, gam0); x1 = slicesample(gam,kk,'logPDF',logPDF); where ...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


How can I impose restrictions on a function @
Dear all I have a compicated function logPDF=@(x) set_up(x, a,y); under the restriction x+a<0.999. How can I impose th...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


Using the function in 'logmvnpdfFS'
Dear all, I have been trying to run a matlab code using the function 'logmvnpdfFS' . But I get Undefined function 'logmvnpdf...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


eye and speye in Kron within matlab
Dear all, I want to ask if B=[1 2; 3 4]; A=kron(eye(2),B); and B=[1 2; 3 4]; A=kron(speye(2),B); are the same. It ...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


using a loop within a loop in matlab
Dear all, I have this problem T=1000 for ii=1:T for t=ii:T 'here a have a function that depends on t' end e...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


Adding elements of a vector in matlab
Hi all, I have a vector a=[1 2 3 4 5 6 7 8 9 10 ]; and I want to get the vector b=[1 +2+3+4+5+6+7 +8 +9 +10; 2+3+4+5+6+7...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


constructing a difficult large matrix
Dear all, I am interested in constructing a complicated matrix A. The matrix A is a diagonal matrix, where each diagonal elem...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


Matrix with strings and numbers
Dear all, I have a column that contains thousands of the following elements (this is just a sample) A=[ '2008-12-05 15:...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


identifying the critical points of a bivariate function
Dear all, I have this function below and I plotted it in a 3D space. Is it possible to mark the critical points on the gr...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


plot 2 3D vectors in Matlab
Dear all, I have these vectors a = [1 2 -3]; b = [-3 12 -13]; Both start from c=[0 0 0]; How can I plot them in a 3D e...

5年弱 前 | 1 件の回答 | 0

1

回答

質問


getting an error message when using hmcSampler
Dear all, I have this log-function on which I apply the hmcSampler: T=1000; g=randn(T,1); u=randn(T,1); k1=0.01; k2=0.02; ...

5年以上 前 | 0 件の回答 | 0

0

回答

質問


Setting up properly the fminunc function
Dear all, I am trying to maximize this function T=1000; z=randn(T,1); u=randn(T,1); k1=0.01; k2=0.01; options=optimset('...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


Estimating a regression model using matlab
Dear all, I have this regression model g=randn(1000,1); error=randn(1000,1); g(2:end)=k1+ k2*(g(1:end-1)-k1) + error(2:end...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


An error message using fmincon
Dear all, I minimize this function. g=randn(1000,1); u=randn(1000,1); ff = @(x) sum( ( g(2:end)- x(1)- x(2)*(g(1:e...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


Optimizing minimization with fmincon function
Dear all, I have this function which I minimize: g=randn(1000,1); u=randn(1000,1); y=randn(1000,1); options = optimoptions(...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


Estimating multiple parameters from a regression
Dear all, I have this regression model fy=randn(1000,1); x1=randn(1000,1); x2=randn(1000,1); u=randn(1000,1); fy=a*x1+b*x...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


estimating the parameter of an equation
Dear all, I have this equation: kk=randn(1000,1); u=randn(999,1); kk(2:end)=kk(1:end-1)+u*d; and I want to estimate the ...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


a question on for loop statement
Dear all, I have this for loop T=1000; k=0.1; u=rand(T,1); a = zeros(T,1); a(1) =u(1)+ k*0.01; for t=2:T a(t) = u...

5年以上 前 | 1 件の回答 | 0

1

回答

質問


How do I set up a particular function
Dear all, I have a function f=@(x) umax(x,u, t); The problem is that x changes at each value of t=1,...,T; that is, LL...

5年以上 前 | 0 件の回答 | 0

0

回答

質問


generating a sequence of numbers
Dear all, I want to generate the following sequence: L1=P L2=a1+2*F*P L3=a2+2*F*a1+3*F^2*P L4=a3+2*F*a2+3*F^2*a1+4*F^3*...

5年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む