search for: tolx

Displaying 2 results from an estimated 2 matches for "tolx".

Did you mean: told
2010 Mar 04
2
Hi
How Can I write this this matlab code in R: options=optimset('TolFun',1e-9,'TolX',1e-9,'MaxIter',1e8,'MaxFunEvals',1e8); c=c/2; [alpha, delta, epsilon, nofcup] = ustrs(set_date,mat_date); y = fminsearch('pbond',.15,options,p,c,nofcup,delta/epsilon); y = 200*y; Note pbond is a function in Matlab I already wrote in R ustrs is a function in Matla...
2006 Jun 12
1
r's optim vs. matlab's fminsearch
...on, and if so what are they? Are there other reasons optim and fminsearch might work differently? Thanks. ***Matlab's fminsearch defaults*** MaxFunEvals: '200*numberofvariables' MaxIter: '200*numberofvariables' TolFun: 1.0000e-004 #Termination tolerance on the function value. TolX: 1.0000e-004 #Termination tolerance on x. ***R's optim defaults (for Nelder-Mead)*** maxit=500 reltol=1e-8 alpha=1.0 #Reflection beta=.5 #Contraction gamma=2.0 #Expansion Anthony J. Bishara Post-Doctoral Fellow Department of Psychological & Brain Sciences Indiana University 1101...