<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18975"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>dear 
all,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>I'm using either 
fminsearch function of nmplot one following the scheme hereafter 
:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>level 1- call of the 
fminsearch function</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>level 2 - cost 
function</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>level 3 - call of 
sub-function</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>As you can see 
herebellow I would like to link constant parameters from the level 1 to the 
level 3 (i.e. nu1 and nu2 values) => how can I do this 
?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>I had a look in 
optimset/optimget function but It not seems to be the write ones 
!</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010></SPAN></FONT><FONT 
size=2 face=Arial><SPAN class=494261308-02122010></SPAN></FONT><FONT size=2 
face=Arial><SPAN class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>I hope it's clear 
enough</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010>Regards</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010>Paul</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>### level 
1</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>optimized_parameters 
= fminsearch(optimization,initial_parameters);</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>poisson = 
0.495;<BR>mu1 = 0.0438055;<BR>alpha1 = 2.86504;<BR>mu2 = 0.061838;<BR>alpha2 = 
1.34878;<BR>nu1 = poisson;<BR>nu2 = poisson;<BR>initial_parameters = [mu1 alpha1 
mu2 alpha2];</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=494261308-02122010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>### level 
2</SPAN></FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial>function SSE = optimization(x)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>nu1 = 0.495;<BR>nu2 = 0.495;<BR>ADDITIONAL = [nu1 
nu2];<BR>printf("#########################################################\n");<BR>printf("            
* mu1 = 
%g\n",x(1));<BR>printf("            
* alpha1 = 
%g\n",x(2));<BR>printf("            
* mu2 = 
%g\n",x(3));<BR>printf("            
* alpha2 = 
%g\n",x(4));<BR>printf("            
* nu1 = 
%g\n",nu1);<BR>printf("            
* nu2 = %g\n",nu2);</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>
<DIV><FONT size=2 face=Arial><SPAN class=494261308-02122010>### level 
3</SPAN></FONT></DIV></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial>status = 
write_ccx_file(PATH_DATA,INPUT_FILE_NAME,x,ADDITIONAL);</FONT></DIV></DIV></BODY></HTML>

<pre>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.