Community Profile

photo

Michael Stollenwerk


Last seen: 5 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Kontakt

Statistiken

  • Thankful Level 3
  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

mehr als ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 3 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 3 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 3 Jahre vor | 1 Antwort | 0

1

Antwort