Community Profile

Contact

Top 5% contributor

H=filter([1,-S],0 , Z);

accepted

0

Answered 2 years ago

Hi, I want to find the following Z(i)s but inside the sum is only for j. How can I write following script with sum on only j? ...

2 Answers

Asked 2 years ago

Hello, II have a time series Yt and I sorted them in ascending order and I got Yi, then I used them in a function and I got Z...

Hi, I am trying to build a n*k matrix but each row are produced by a function which has a 1*k output. How can I build that? I...

Hi, I need to rank the data in a matrix but tiderank function does it for each column separately. how can I do it for all data ...

I have function named LL in a script named LL.m this fuction is like this function param1=LL(u1, u2, x) param1=-sum(log((exp...

Asked 3 years ago

I am training a simple BP neural network with 8 inputs, 1 output and 1 hidden layer with 10 nodes in it. my weight matrices is ...

Pk is a 1*5 , and LandaMean is 1*37 matrice b=1 m=6 for k=1:(n-(2*b)-m+1); Pk = LandaMean(k+1:k+m-1); ...

I have a figure with the following code. How can I add 20 and 80 to the secondary y label? Now it looks like this: <</mat...

1 Answers

Asked 5 months ago

I want to create a plot with 3 time series. First DO with values starting from 1998 to 2012 and for secondary axis two other t...

How can I test whether my observed values come from a chi-square distribution with n-degrees of freedom (preferably with Anderso...

Asked 10 months ago

Is there any difference between rand(n,1) and unifrnd(0, 1, n, 1)?

Asked 12 months ago

I know that we can get the residuals of the model by the following function: res = infer(fit,Y); Now if we have residual...

Asked 1 year ago

I have a plot like this: E = plot(100.*x2(433:444,1),'*-r','MarkerSize', 5); set(gca,'xtick',1:1:12); set(gca,'xtickl...

This is the ARIMA part of my code TS2 = TS(:,2); n2=16; [fit,VarCov,LogL,info] = estimate(model,TS2(1:n2,1)) AIC =...

Hi, I have a n*2 matrix named Y which has two columns; the first column is my observation values and the second column is the p...

Hi, I need to assign two identifiers to a vector of n values like _V |i,j|_ in a way that _V_ is not a cell but it is a vector ...

I am trying to fit a gumbel distribution on a series of data. So I want to minimize the negative of maximum likelihood by optimi...

how to generate 1000 random numbers with extreme value dist type 1 (Gumbel) with know parameters m and a

I want to define an ARIMA(1,0,8) but I only want the model to find the optimal values for first and last MA orders in a way that...

Hi, I am relatively new in MATLAb so sorry if my question is very simple: in my workspace they are some variables which are 1*...

Dear all; I have two vectors Z(m*1) and S(n*1) (Z is my data and S are coefficients from another formula) and I want to adjus...

Hi, I am kind of beginner in MATLAB and I try to use the following code. It seems I should define p and q but I can not figure ...

Hi, I have a set of data (a time series) Zt (t=1:400) I need to find MLE of parameters a,b,c and d by following equation which ...

Hi, I am trying to plot two data set in a figure Y1 starts from x=1 to x=100 but Y2 starts from x=50 to 100. How can I plot Y2 ...

Hi, I want to create a series of Hermite polynomials which includes derivative. How can I do that since MATLAB does not have ...

Hi, I want to manage two variables in a sum function in a way that sum(i*cos(ik)); which i=1:N , k=1:M but I want only wa...

I am plotting a time series 12 months*10 years=120 values and my default x axis label is from 1 to 120 but I want change the lab...

Dear all, I have a time series of monthly data for 50 years in a single column of 600 rows how can I convert them to a form of ...

I was optimizing a function named ML with fmincon to find the parameter "theta", twostage = fmincon(@(theta)ML(theta,para...

Load more