0001 function sc = aloha_process_yp(sc,rc,optim) 0002 % 0003 ne0 = fminsearch(@(X) aloha_err_RC(X,sc,rc),sc.plasma.ne0,optimset('TolFun',optim.tolfun,'TolX',optim.tolx,'MaxIter',optim.nitmax)); 0004 %ne0 = fminsearch(@(X) aloha_err_RC(X,sc,rc),sc.plasma.ne0); 0005 % 0006 sc.plasma.ne0 = ne0; 0007 % 0008 sc = aloha_scenario(sc); 0009 0010 0011 0012 0013