Question


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

bijna 12 jaar ago | 1 answer | 0

1

answer

Answered
How to call a function in fmincon
Thank you

ongeveer 12 jaar ago | 0

Question


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

ongeveer 12 jaar ago | 2 answers | 1

2

answers

Question


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

ongeveer 12 jaar ago | 1 answer | 0

1

answer

Question


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

ongeveer 12 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 12 jaar ago | 2 answers | 0

2

answers

Question


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

ongeveer 12 jaar ago | 1 answer | 0

1

answer