Simon
10-25-2006, 04:04 PM
Hi,
I am a newer of Downhill Simplex method and I have a question about the initializing p and y. That is:
funk(x,y,z,b)=f1(x,y,z,b) b>0
funk(x,y,z,b)=f2(x,y,z,b) b<0
where x,y,z are variables, b is parameter known, f1,f2 are different functions known. How can I initializing p and y. There are three variables, which means that p must be 4*3 matrix. Maybe I can guess x,y,z at first, but there is only one row in p, and also one y can be got. How can I get the p(1:4, 1:3) and y(1:4)? It is best to show me an example. Thank you very much.
I am a newer of Downhill Simplex method and I have a question about the initializing p and y. That is:
funk(x,y,z,b)=f1(x,y,z,b) b>0
funk(x,y,z,b)=f2(x,y,z,b) b<0
where x,y,z are variables, b is parameter known, f1,f2 are different functions known. How can I initializing p and y. There are three variables, which means that p must be 4*3 matrix. Maybe I can guess x,y,z at first, but there is only one row in p, and also one y can be got. How can I get the p(1:4, 1:3) and y(1:4)? It is best to show me an example. Thank you very much.