Question

How to make conditional calculation?

I have two vectors, contained in matrix M, each with a dimension of 1000 by 1. Each vector contains integer numbers. The values ...

mer än 6 år ago | 2 answers | 0

Question

warning about optimset and using optimoptions

Hi, I use the fminunc function and the optimset as options = optimset('GradObj','on','MaxFunEvals',1000,'MaxIter',1000,'Dis...

mer än 6 år ago | 2 answers | 0

Answered

Is MATLAB a compiler?

From the answers above, I understand that a compiler and interpreter are two very different things, and therefore it does not ma...

Is MATLAB a compiler?

From the answers above, I understand that a compiler and interpreter are two very different things, and therefore it does not ma...

nästan 7 år ago | 0

Answered

Creating dummy variables from categorical variable

I would like to ask a question here. One should always vectorise the code where possible, as I read in the literature. But in th...

Creating dummy variables from categorical variable

I would like to ask a question here. One should always vectorise the code where possible, as I read in the literature. But in th...

nästan 7 år ago | 0

Question

Is MATLAB a compiler?

I have been using MATLAB for some time but I am still not clear how MATLAB compares to some alternative software in the followin...

nästan 7 år ago | 3 answers | 1

Question

Creating dummy variables from categorical variable

Suppose there is a column vector array n containing unique but repeating values of the form 1 1 5 7 7 The ...

nästan 7 år ago | 4 answers | 0

Answered

The "unique" function returns "Index exceeds matrix dimensions" error

Thanks a lot for the quick and detailed responses.

The "unique" function returns "Index exceeds matrix dimensions" error

Thanks a lot for the quick and detailed responses.

ungefär 7 år ago | 0

Question

The "unique" function returns "Index exceeds matrix dimensions" error

I have a .mat file loaded in the Workspace. I execute the command unique = unique(datafile.data(:,2)); It creates the u...

ungefär 7 år ago | 2 answers | 0

Answered

Why does MATLAB fail to load my preferred language on macOS Sierra?

Is language English, region Netherlands affected by the issue? Thanks.

Why does MATLAB fail to load my preferred language on macOS Sierra?

Is language English, region Netherlands affected by the issue? Thanks.

nästan 8 år ago | 0

Question

Computation of the standard error of a FGLS coefficient estimate

Hi, I use the MATLAB code below to calculate the standard errors of the coeffficients estimated by Weighted Least Squares (WL...

mer än 8 år ago | 0 answers | 0