Community Profile

# Raul Andres Lopez Romero

Last seen: 3 years ago Active since 2017

All

#### Content Feed

View by

How to get standard errors from estimated arima?
For infer the residuals you need to use the 'infer' function over your ARIMA model try this: residuals=infer(EstMdl,data) ...

4 years ago | 0

How to check number of zeros in an array?
Try this: nzeros=numel(A)-nnz(A) *numel(X)* give you the number of elements in an array, *nnz(X)* give you the numbers...

4 years ago | 1

Solved

Given a and b, return the sum a+b in c.

5 years ago

kpss test command results
you need others values for that, you need the p_Value and the c_Value to determinate if that series are stationay, check this...

5 years ago | 0

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5 years ago

Solved

Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

5 years ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

5 years ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

5 years ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

5 years ago

Undefined function or variable
Mira, if you try to make this function that way it does not work, all because the parameters yo use in this function at the end ...

5 years ago | 0

I have been provided with some data files and my task is to read the data in the matlab and plot a graph. How do I do it?
Check the documentation: <https://la.mathworks.com/help/matlab/ref/plot.html Plot 2d>

5 years ago | 0

How do I show red markers for only the whole numbers in this plot?
Only need to plot an auxiliar function with the numbers you want to plot in red markers example, (the whole numbers in x axis) ...

5 years ago | 0

| accepted

apply function to all elements in a column
You dont need do a loop for this only use the dot operator ./ .* this multiplies or divide the vector i element by element, this...

5 years ago | 0

Making a three column matrix
Your code has only one error when you set the C matrix in 300 rows and 3 columns, and try to fill it with numbers starts in 140 ...

5 years ago | 0

| accepted

How can I plot multiple graphs from one set of table data, separated by NaN?
% Star with position and values % A it's your matrix that contains the NaN elements pos=[true,isnan(A(:,1)).',true]; i...

5 years ago | 0