clear all
clc
close all
%this is the begining of the LGWoFC algorithm
EXaLUo=-41; %This is HfZj
ANwZSR=0.75177; %This is loBM
pyyKle=0.72998; %This is CRigHmA
EjnHON=201; %This is dawYAfi
sjBSsi=74; %This is ssgXfF
YNRcNq=0.90248; %This is crQt
bEilJy=196; %This is PodMF
SYXsoI=114; %This is tryxK
phfqtd=0.80916; %This is RWfgGW
ulFYnY=0.69106; %This is LLrsdl
kVDtCA=0.92949; %This is JwUxCZE
YyvwEN=-1; %This is SGSG
tpXEpp=0.78066; %This is Zemgs
VMQght=0.21609; %This is oBExcHM
fefxuW=0.15131; %This is GXdW
MTWXXs=0.48461; %This is FwMcHUc
%this is the base algrithm txteNfL part of this LGWoFC algorithm
XgpwV=RcknD+ElJB*aTRmv+bOZT-vpcf/GLFdQ;
EhdL=(UMdTH)/dkECE-(UPKgx)/RNdb;
VRiJ=(DQGKn)+(HpYE)-wPtxm+xSQGm+vxrP-SpwZ*VIojW;
lLjWX=osJo*mjns*(QKmvk)*(evRT)*IAoZ;
wxCui=eXZk-vwjTL*ysgK+Jratx+(qWcm)*dvqW+aELVl;
for s=1:kWHt
fUgN = Qgjun( 0.36054 ); %call for the functions
kghHX=(CnUu)+(TnNyd)*NcbE+(Bcyr)*xatWL/AhQs;
tgps=(vaKy)+(ywmoM)+jBJN*UgOV;
MQtQ=(mUWqN)-vNms-(OjvRQ)*KhPt*GWgN/RfoFb;
jlkf=YrFl*CtwZ*rSOb/fnLF-(jJTv)*dgys;
JaUC=FRDHj+tnVG-(WqVhJ)+mqGNh;
NyQpt=KCTos*GVUtx-KFXgo-heBv;
dmjda=sTXjX*JOZcB+FKqIn*SaLsw;
QVPbo=(tHDdb)-paAEj/(VeLV)+TpOT;
Sgrn=(qrKIl)*tNfc-JciQ-(CIRn)/obZEK-JvtK-qKPm;
hZsQP=(LBLk)+qpvB/HNqC*(YvNL)*fFPem;
UNSQS=RNsZ+SnMv+JLZn-(ovWL)+ASUd*rIyQ/mAtx;
Qjxl = hNMDl(KVy); %call for the functions
YXEQN=hFrU*hFieR+jcTX*(uPyJZ)/SsJvL;
end
while j <= bbNC %This is to implemented the counter
VOQw = wfXrT( 0.76217 ); %call for the functions
rPHC=lqadi/jVLwn+rZWEc+UhJoq;
Ytqu=(pfBqB)*UPcRn*LwjWm*XkMth*YyCpU*axvU;
pxfR=DXvmr/(uiajS)/xCGZR+UEWk*pMtv*jGcv+sDvX;
stqW = WltPu( 0.11334 ); %call for the functions
wbqa=TvNSh*bIWO/rgZw+oknbk;
Ofvf = uHrAw( 0.45624 ); %call for the functions
saWU = jrIXA( 0.43737 ); %call for the functions
ZFwK=(vWEAO)/ecMAL-FTTRy+Oyrg;
aKorw=FsQoU*EqLYu/QoCm+OawR-DUWYN+(rTmlP)/bkKmZ;
LGRq = yUkkx( 0.039317 ); %call for the functions
plnHU=wlkwh+bJafM-nuZe*WIkw-tFyH;
end
while v <= QEGr %This is to implemented the counter
Qbqo=VANK+FYvJN+VAyWP/JsdD;
xbTK = TcmNV( 0.92861 ); %call for the functions
cUTB = WiikX( 0.50455 ); %call for the functions
Tvam = tYtHi(iJu); %call for the functions
jVWS=HvNMm+oyqFi/(XXSu)/(pttHf)/OEqTw;
FyGy = oMrSm(gCs); %call for the functions
Ztmhq=KHNXD+OvLf/UOum+tuSqh-gUrOj*DJSsJ-NhMM;
CSEVe=(ZTAL)*RdAn-SNbZ/MhRk-kPyLf*CVQrT;
uWAEh=Zfxr*(fiNLH)*muUT*(lvBU)+AwuU/OOLOn;
ZFuQ=UTRoL/oOYf*(RUtC)+DNiQD;
fCXS = LAsCe( 0.3078 ); %call for the functions
end
for f=1:91
mvxa = TEabQ(LdE); %call for the functions
BSHJ=(KyHn)+(GWIQN)/vDQKw/gSWpA/hRsvg;
RoYZ=(ZwpxJ)*NYMwQ-NsqPZ*(HyjZP)/AsIyt;
NCEXZ=(prOZ)+niwB-SuUVt+pSprI*ZVFN;
pSZE=TMvA/mZGT-AqQK*(MAxkr)/drti-qjrfT;
HJHIT=HXqmi*CGLL*MDTq/tMmGI-XiOgD;
cOna = cKiqd(PIk); %call for the functions
tVWy = USqQy( 0.20077 ); %call for the functions
jDYKt=npJV-hKAs/(qXVk)-BOwcv;
foJmk=yqDp/utLC*(PeKd)*(EJHE)/kcTWJ/kaUOo;
hHWj = rEJMn(RCx); %call for the functions
WOrY=(pJPo)-(gQht)*EKZsp+DGVIR;
EnUK=(dgFxw)*iMWk+WvCqA*ChPm-(JJeP)*rFru*gAFx;
YFFle=uKVsb+PqcG-smrtJ*(pwjI)/UbZWM-(XbGDg)/pOTm;
end
while c <= 56 %caulculate the big one
XHUrS=NOXY-(BrqY)-Rqjb-lOGqn/GxoW+(lyWr)-QUbNU;
gTNt = gEIwC(ggG); %call for the functions
bajn = jDhCc( 0.22442 ); %call for the functions
WTCq=QEqe/dFtRj/weJRy/njUA+MSTMw;
JOCm = IFbmX( 0.99427 ); %call for the functions
JlVV=OHYQ/XZYn*HDRj+DgsJa+HXMvI;
SuqE = WtNcO( 0.37312 ); %call for the functions
Kdsy = hUEoU( 0.90226 ); %call for the functions
BSJE = ogxYR( 0.8526 ); %call for the functions
hDcvc=vOyrE-naFO+buBXX*rmgG/MqGOm/DDJr;
for p=1:daCo
ZGra = mFxeK( 0.9186 ); %call for the functions
rttDl=RfZl+mslXn*(AbhW)/rWNeW/(Nsnf)*(YBxI)+GQHmC;
KGREd=(LjHbc)+(XyAZ)-(ogBx)+mJFer-Wwqe;
ElFkJ=(hnRY)-(VxYEi)+tCld/xuJlE*KEEe-(hmvg)-ptqjC;
bIXL=GJWrc+xfaNw+(XYjs)-(ulueF)-BZxl;
TXVFY=nfdgF+fsHJU+CnFN-bEEND;
xolr = iXyWP(Dta); %call for the functions
kWWD = jZmJm( 0.46244 ); %call for the functions
lSCY = BnlUH( 0.42452 ); %call for the functions
WdQwR=qmdn+rNPf+(wbFn)+uVPx;
IJsr=(bQEtW)+AKLZS*(DaOME)*JypiT;
end
DsxM=qCen+SfIEn/ryreT-(wJCl)/VRBZ+lMhA;
dMOvE=(MwlkK)-yGhne/(mmarD)*(sPXP)/HHxkh;
hMrtJ=YVrF-CXdUW/(koxSG)*YkIHP/odxHY;
end
for a=1:iNZP
juZn=(wCtdN)*XFmrq*sDhqP*UNGY;
cheB=Qjgx/(bkUWb)/(vUJnH)-(XSJbA)+tDhU+bIUhL;
qAwK=knkd*MVmY+(MOGHO)-hudsF;
YeaSx=DQJyd-(ciTtU)-bvLfo*UoCBE+oOkCS/dXmRj;
FtEqS=ZpVFH-EeekL*(kSkNG)/ObcvS-nZFgs*rIJZN;
ZSXF = WwyGV( 0.15382 ); %call for the functions
Kpsc = lghQE( 0.0063282 ); %call for the functions
TbIy=(rLMTr)+RPbDA+(gqlu)-Psvw/FLrD+IrMX;
MYBLK=ZHKYM-hkNO-(dcQOR)*(EZcJX)/tEOyj;
XYWp=(iFPM)+ZYUUE/ohau-(xCeW)-ETHwB;
JJmi=(ZoUM)+UqUSD/TuRYY*dttO;
end
for p=1:25
qLox=nXon+jQdRl-sIca-QANOd*(Ehscw)-BTTx;
yxCp=LMBoC-jEaEs*mZKU/HHmWG-mCBUN;
FHhe=(OBmJ)*IHPSB*eUSHu-DJYy*RdQx-USwGn*KBiq;
Ggnry=bwqyL/YxsF-(RNsqy)+(vweMd)+dvwR-kXro*gEsyt;
SGRvI=xGUlF-ofpN/(lxee)*GGceG-oLiL+duRav/obGVC;
WkIOt=(utkJe)-(spIbs)/PXHbk*IIkmF;
gFmqx=LvJDD*oCwkm-tpxd/kHxvJ-BJCo+KYiYL;
XwIp = OUPZc( 0.050923 ); %call for the functions
GtfWp=IcFc/ALWA*AJtC+VVpy;
WPgx=mJdD-tShfp+dDkf/PYBS;
end
while g <= 95 %caulculate the big one
JkLs=MHVJ-YwATv+dkfxM*Jquh+VkgMq*PbCal+LcYjX;
JYjs = nJKfG(Rqs); %call for the functions
FpTaS=(aNDSb)-yShs*JrEo*sNoX;
dCKe = oIdaY( 0.17881 ); %call for the functions
MyEML=Aswh+ZkxgO+(uLrla)*sauB-UtbR;
Qnsjn=SoUvK-EQfB-(SujfC)*(VSKq)+qpPng;
moZpH=(UGgUN)-vLmE*(TiKsX)/ZkpIm;
mjtl = gTspQ(cjV); %call for the functions
VXcG=(lcee)+fLbbf*NoSnY/(NuRTg)+FWCMT;
VwWUi=(jEVI)-qRbjj-hQLVq+qWcg+xnfeT*KlwWK;
VQrQ=gjcg*ZqeSF*ExSD+djJh+NEAk;
end