Community Profile

photo

Michael Stollenwerk


Last seen: 5 meses hace Con actividad desde 2020

Followers: 0   Following: 0

Contacto

Estadísticas

  • Thankful Level 3
  • Thankful Level 2

Ver insignias

Feeds

Ver por

Pregunta


Fill up submatrix along third dimension with two dimensional matrix
Given a p by p by N array, e.g. p=3 and N=4, x = NaN(3,3,4); I can easily fill up the 1 by 1 by N submatrix given a "1 by 1 m...

más de 1 año hace | 2 respuestas | 0

2

respuestas

Pregunta


Provide partial gradient and Hessian to fminunc.
I have the gradient and Hessian in closed form only for a subset of the variables of my objective function. As an example consid...

más de 1 año hace | 1 respuesta | 0

1

respuesta

Pregunta


Matlab turns char into double on cluster.
On the cluster I run matlab -nodesktop -r "program 1" > program_1.out 2>&1 where the first lines of code in "program" look li...

alrededor de 2 años hace | 1 respuesta | 0

1

respuesta

Pregunta


How to call objective function in outputfcn or plotfcn during optimization?
I want to minimize a complicated objective function. It returns 1. objective function value and 2. some fit data (like the fitte...

casi 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Constructing large covariance matrix from correlations and covariances gives non positive definite matrix.
Let's create a large correlation matrix (simply a symmetric matrix with ones on the diagonal and values between -1 and 1 on the ...

alrededor de 3 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Permutations of ordered set where only one object changes its position.
Is there a quick way to get all possible permutations where we put one object at all position, while keeping the order of all ot...

alrededor de 3 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Combining cell arrays with empty doubles
Suppose I have two cell arrays, with a = cell(1,2); a{1} = 1; b = cell(1,2); b{2} = 2; How can I quickly combine the two t...

más de 3 años hace | 2 respuestas | 0

2

respuestas

Pregunta


What happens if I use parfor and the fmincon/fminunc option "UseParallel" together?
I want to minimize the same objective function using different starting points. I have cores available. I have . Consider the...

más de 3 años hace | 1 respuesta | 1

1

respuesta

Pregunta


mex-file crashes MATLAB in for loop
When I call the mex function (which was created using my c code below) in a for loop, it crashes Matlab after several runs. Do y...

más de 3 años hace | 1 respuesta | 0

1

respuesta