Domanda


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

quasi 12 anni fa | 1 risposta | 0

1

risposta

Risposto
How to call a function in fmincon
Thank you

circa 12 anni fa | 0

Domanda


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

circa 12 anni fa | 2 risposte | 1

2

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 12 anni fa | 1 risposta | 0

1

risposta