Community Profile # Matthew

Active since 2013

View badges

#### Content Feed

View by

Question

chromosomeplot conflict with legend
When I use matlab's *chromosomeplot* with _addtoplot_ flag turned on, I cannot get legends on my figure. # If I execute *...

6 years ago | 1 answer | 0

### 1

answer

Question

mvregress fails to solve same problem as regress?
X = 1:10; X=X'; Y = X; % i.e. just the line y=x regress(Y,X); % returns "1", as expected mvregress(X,Y)...

7 years ago | 0 answers | 0

### 0

answers

Question

optimization procedure convergence and "norm of step"
I am trying to solve an optimization problem with *fmincon*. Unfortunately, the optimization runs forever. When I turned on ...

7 years ago | 1 answer | 0

### 1

answer

Question

define multiplication by zero for Inf
It is often a mathematical convention to define 0 * Inf = 0. (For example, Shannon Entropy and the entire field of Information ...

7 years ago | 3 answers | 0

### 3

answers

Question

is the result of "find" guaranteed to be sorted?
Are the indices returned by MATLAB's "find" function guaranteed to be sorted? I could not find any mention of this in the "fi...

7 years ago | 1 answer | 1

### 1

answer

Question

unique - which occurrence of a repeated element"?
*unique* has the option to specify which _occurrence_ (first or last) or a repeated element is output when used in _legacy_ mode...

7 years ago | 1 answer | 0

### 1

answer

Question

set graphics object ydata which is a cell
I am trying to adjust the heights of a boxplot. boxplot(1:10,[zeros(1,5) ones(1,5)], 'colorgroup', [0 1], 'colors', 'rb', '...

7 years ago | 1 answer | 1

### 1

answer

Question

adjacent boxplots on same figure
I can make multiple horizontal boxplots in Matlab like: | _____ | |-[_|__]-| | ...

7 years ago | 1 answer | 1

### 1

answer

Question

choose max among elements with same column 1 value, different column 2 value
consider a nx2 matrix like: A = [1 0.7 2 0.5 2 0.6 2 0.3 3 0.4 3 0.1 4 0.7 5 0.3...

7 years ago | 1 answer | 0

### 1

answer

Question

matlabpool, parfor, matlab engine in c++, - java not currently available
I am calling the matlab engine from my C++ code to run some custom matlab functions. Everything works fine when I use a seria...

8 years ago | 0 answers | 0

### 0

answers

Question

"mvregress" does not do Multivariate Linear Regression?
The documentation for function "mvregress" states that the return value "beta" is a _vector_ of the regression coefficients. Lo...

8 years ago | 1 answer | 0

answer