Question

reduce matrix data by combining values

Dear matlab community, I need to reduce data in a matrix of two columns, and many rows (almost 2 billion, so I would like to ...

4 years ago | 1 answer | 0

Question

compute the sum of each item of a vector with every item of another vector

Dear matlab community, i came across a simple problem, which should be easily solved by one of the more experienced members. ...

4 years ago | 1 answer | 0

Question

Multiply each item of an array with every item of another array

Dear matlab community, I have a relatively simple problem: I have two arrays, say: 1 2 3 and 10 11 12...

4 years ago | 1 answer | 0

Question

Probability tree - probabilities and values of each branch

Dear Matlab community, I found a somewhat related post, but it is not quite the same, so I decided to start a new post. Th...

4 years ago | 0 answers | 0

Question

Time series standard deviation: Defined lookback period

Dear MATLAB community, I have monthly time series data, and would like to compute time-series standard deviations of a variab...

5 years ago | 1 answer | 0

Question

Shade an area in a plot between two Y values

Dear MATLAB community, I have a time series plot, and would like to shade specific regions in light grey (transparent). Th...

5 years ago | 3 answers | 1

Question

Setting an array of a vector = NaN

Dear Matlab community, I am trying to set a certain array within a vector = NaN Example: If I have a vector with a ...

5 years ago | 1 answer | 0

Question

Assess stationarity of a growth variable

Dear Matlab community, I am trying to assess a time series variable for stationarity. To give you an idea what I am doing: Th...

5 years ago | 0 answers | 0

Question

Add an element to a vector after taking difference

Dear Matlab community, I am currently running some stationarity test, for which I take log-differences. However, if stationa...

5 years ago | 1 answer | 0

Answered

store residuals of fitlm model

I found the answer myself! Hope this helps fellow Rookies: for raw residuals: VARIABLENAMEFORRESIDUALS = MODELNAME.Resi...

store residuals of fitlm model

I found the answer myself! Hope this helps fellow Rookies: for raw residuals: VARIABLENAMEFORRESIDUALS = MODELNAME.Resi...

5 years ago | 0

| accepted

Question

store residuals of fitlm model

Dear Matlab community, I made a multiple time series regression model, using the command M1 = fitlm(model,Y) I now w...

5 years ago | 1 answer | 0

Question

Orthogonalization of time series data

Dear MATLAB community, I have economic time series data (Y), which I would like to control for a range of other economic vari...

5 years ago | 1 answer | 1

Question

Modify axis tick frequency

Dear Matlab community, I have successfully produced the following plot: <</matlabcentral/answers/uploaded_files/35518/...

5 years ago | 1 answer | 0

Question

Produce a Date vector starting with a desired date

Dear all, I am trying to produce a date vector, which includes year and month I would like to start With July 1926, and end wi...

5 years ago | 2 answers | 0

Question

Time series plot: put YYYYMM on x-axis?

Dear Matlab community, in advance: Many thanks for the great help I always get! I am trying to plot a time series (in a co...

5 years ago | 1 answer | 0

Question

Make process stationary - clean trend

Dear MATLAB community, I have produced an index, which looks as follows: <</matlabcentral/answers/uploaded_files/35313/pro...

5 years ago | 1 answer | 0

Question

Multiply x sequentially with items of a vector

Dear MATLAB community, I would like to construct an index, which should start with 100. I have computed a vector, which then...

5 years ago | 2 answers | 0