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 ...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

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...

plus de 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
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...

presque 7 ans il y a | 0

Réponse apportée
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...

presque 7 ans il y a | 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...

presque 7 ans il y a | 3 réponses | 1

3

réponses

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 ...

presque 7 ans il y a | 4 réponses | 0

4

réponses

Réponse apportée
The "unique" function returns "Index exceeds matrix dimensions" error
Thanks a lot for the quick and detailed responses.

plus de 7 ans il y a | 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...

plus de 7 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
Why does MATLAB fail to load my preferred language on macOS Sierra?
Is language English, region Netherlands affected by the issue? Thanks.

presque 8 ans il y a | 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...

plus de 8 ans il y a | 1 réponse | 0

0

réponse