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...
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...
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 ...
12 years 前 | 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);
...
12 years 前 | 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...