Frage


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

fast 12 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to call a function in fmincon
Thank you

etwa 12 Jahre vor | 0

Frage


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

etwa 12 Jahre vor | 2 Antworten | 1

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 12 Jahre vor | 1 Antwort | 0

1

Antwort