optimizing 2 parameters with fmincon
I was optimizing a function named ML with fmincon to find the parameter "theta", twostage = fmincon(@(theta)ML(theta,para...

7年以上 前 | 1 件の回答 | 0

### 1

How to call a function in fmincon
Thank you

7年以上 前 | 0

How to call a function in fmincon
I have function named LL in a script named LL.m this fuction is like this function param1=LL(u1, u2, x) param1=-sum(log((exp...

7年以上 前 | 2 件の回答 | 0

### 2

Optimizing a function consisting of other variables
Hello, I have a function as this: function l=L2(u1, u2, w, x) l = -sum(log(((log(u1).*log(u2)).^(-1+x)).*((w.^((2-2*x)/x))-...

7年以上 前 | 1 件の回答 | 0

### 1

Weights in Neural networks
I am training a simple BP neural network with 8 inputs, 1 output and 1 hidden layer with 10 nodes in it. my weight matrices is ...

7年以上 前 | 2 件の回答 | 0

### 2

Subscript Error Plz help
Pk is a 1*5 , and LandaMean is 1*37 matrice b=1 m=6 for k=1:(n-(2*b)-m+1); Pk = LandaMean(k+1:k+m-1); ...

7年以上 前 | 2 件の回答 | 0

### 2

Writing a loop instead of sum
Hello, n=40; b=1; m=6; s=0.15 for k=1:(n-(2*b)-m+1) c=L(k+1:k+m-1); if sum(abs(c-L(k)))<=2*s %How ca...

7年以上 前 | 1 件の回答 | 0