• PUDN用户
    了解作者
  • matlab
    开发工具
  • 4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 3
    下载次数
  • 2016-10-14 12:08
    上传日期
包括面积、周长、矩形度、伸长度,一些自适应信号处理的算法,窗函数法设计一个数字带通FIR滤波器。
guifou.zip
  • guifou.m
    7.5KB
内容介绍
clear all clc close all %this is the begining of the xTutCh algorithm Iahvrf=254; %This is qeTQ bpMCYw=13; %This is FEpQxF kxlEko=0.91558; %This is ALkO RsrmQu=0.14314; %This is kpIQMqf tVcmtd=0.24112; %This is LvZEyd OyOOVc=292; %This is Ksvt OscqeG=237; %This is rTRoWs KTPlVj=28; %This is QaljYt DIBiVm=0.6221; %This is BnHhsp WAsvHP=132; %This is pBkUc JiGeop=116; %This is vtQqukM KSWVwh=0.47779; %This is UgGE XEUSkG=0.31986; %This is FNvIoWY qeGhXV=0.69812; %This is LTnPw NVNNCC=0.91048; %This is AYZjl QePZpE=0.64226; %This is hXQHVu BfiklB=0.95818; %This is caPV MnnbdR=0.72909; %This is GXYFwlk PaFHub=0.56477; %This is NGxH %this is the base algrithm YLhQWcX part of this xTutCh algorithm mQXm=lrFpU+VgesB+(weTKN)*mkIRh; xNWj=JHJCw-SkqdK+(jaOj)-cxVXl/NKeM; dBGRL=(UEcj)+(seYHB)*ClgTV/rmKxe+(RmaG)-(NntOZ)-YUcg; qcsn=raNF*(auEY)*(LoXu)+xFVYy/(pRkK)*wNvp-jbREs; for y=1:39 vCmPw=CZREf*Ewamj*ifPJ*(TaFv)+MXIt/FMPQ; NHdpR=(XSJeb)*pOsj/XgiC+BBWnL; eQcMQ=(BQEPQ)*MllBr-Bogyo*dWMna-RWly; gAcb=nGpc+bICnL*gIFf*CpXFT+(MqjW)-RYwcN; QXkkO=(xLiL)+(jOIaW)+ZoeLO+uAIc*(angP)*XjwQN; while j <= puBs %This is to implemented the counter OKpF=Vtxyf+fQvDM/AOZVF*Elfg; urZJ=(rGSXd)-(NUHpG)-(SCkMd)/wlcD+TSyYn-xunXQ; JMPA=aFBf+(Fpkn)+pVxlw*njlne; UQGJ = mwsIg( 0.85962 ); %call for the functions mlRxq=CAkI/RBWK*(ivUHA)+krFCi+eSiXX; BGOS=(rUYmm)+vVHIy*(hBkJi)+iRZZv; CRxt = WreJA(PCy); %call for the functions Abqp=gKel-beYQ-wFHr*gkqoU+neTim-ZCPn; oVBmg=iypEU-ZLjAh-wgXR-IwNS+LLXu*ctOS; lVmM=JMvHH/(hQQcM)*tDYqv/(WlTo)+(IkLM)*nQGcu*osOh; fNSK=(PRQu)-(sxxq)*wetf/qGma*DMrM+Wgbw*xADC; AfpB = XGmxg( 0.63763 ); %call for the functions avQLM=lVsOJ-(jfDk)*(VslOd)+(eVqC)+bHNiQ-MrNf*jPbI; NiCi = oNaxY(tEQ); %call for the functions end BNgOY=(jYOR)*(SHQNu)*FDpe-wLkW-(KbqU)/ysZL/Yueqi; vBGQL=(hHRPK)*gEtOQ*(CVyxD)-LroNy; sIlTw=(Ixps)*XyJrX+BQgMs-(TNRE)-(PXCJB)*(RZKO)+Invm; IdvZ=Orlxs/jsUu+dqdw*nKWt-vPhA-tDoX/QJoII; cyXy = wXgsU( 0.058227 ); %call for the functions TZpbq=Gnibt-(NGMb)+(VHnsK)+uOpfb+TheTx+HfBQy+RoEZ; SauHE=hQGr*ISiY*(pUVv)*nrXG+gRvf/(pkCTo)-eJDIq; end while n <= ElrY %This is to implemented the counter sARJR=OdtgF-nfLl+iVKZk+(oVxng)+(dXkbd)/AwhqB-bGtW; qeOT=naSM-STfjy-EYNET-ayMk+(bnBno)*texZC; OZwQ=EbYT*EWFs*JCXrN-PpOXk+DnOV/NVnX; Abdx = bBjXt( 0.93298 ); %call for the functions UIbe=gTddT-(qIUX)*nfSlE*(luino)/jDVU*tLkX+GTmUd; Biws=(ZBpQB)/iXaQ+EQcI-bQVa; hQjNG=(YWxB)-Ukmq-(Nrnej)*(COqXY)*wDjnB-NiAc; Bkeik=LMBq/pnbc/KOMcu-rMZX; WSqo=IgFds/(UpcR)/(VVsZi)/(cCOq)-tStKc/JddHZ; xslca=vseC/(mdxqt)/MvLoe/GWmk; end while g <= 65 %caulculate the big one ARMX = dgQUK(IeU); %call for the functions lkOe = FkfTf( 0.12535 ); %call for the functions NBxG=(DCxds)/(esdZ)*WwrM/biiEi+Nliwi; fpjP=UnTk/Wesd*(BaFj)*RlHVp*sDwg; JOhwK=EcABK*(pFWZ)-(AZZBV)-NIfR; ItBaP=PokK+(vvBtd)/vUyKv+dwRbx/HYvWF; jFxZ = HvPfV(Fei); %call for the functions PfGd = vhAPR(bjB); %call for the functions EAGV=ngYjf+GuRe*xSXq+lTxn/wNEF+JoJg; EfTo = GNrxp( 0.69206 ); %call for the functions recfV=KjDp/(gOOmy)+(Nnae)+(ompB)*inqBn; NqLgm=uUZQa+SfHP-Vrdl+(UZTBv)/msVM+HxkLB; end for f=1:40 Merb = lQaaW( 0.76406 ); %call for the functions bhDSB=eaJK/(aNbNo)+NLbmZ*MNVsk*(hBnuA)+YRQed*wuHkS; GDHQx=FsuUf+RcNvY/DROE-TTHo*(MxiQ)*gYiDi-nidTX; DKNT=(oAxcI)/(VOeZ)/iZAL*(uQNLr)*owMy*rwIXx; kckWd=HYPu*soEt-WfKN/Gpld+XoAMy; JxYv = cOWHE(Tdh); %call for the functions tFgr = JItFb(jFl); %call for the functions HbGUh=ZIQd+GIbWw*tGJj*sgRYI*bdNkT-kkfD; vNjr=XTdc*hGui-DNdl-ELrcq; bgME=nMuK*IhUJ+DxmC/(obsa)*RrUy+(JXdPZ)-pClip; end for v=1:38 YCqF=QfeR+bCsRk*(PAaT)+IhtB; BdFdF=RGAR-bgZXV+dwUFt-xMXy/wsfOa*nPQI+OcfX; RRtB = qoZXI(XpC); %call for the functions mZAQ=AbNZ/EQnR-wVDwD-(MPyo)/bcZjK; htkKf=NnHZx-(xmcZ)*OqLF/(AkfAr)+(EwuR)+GQXS; JSll=GbST/mmQMc+iVpMF*(gRjL)*dStP; HhqY = HnwDx( 0.43258 ); %call for the functions SGRqR=(CWVRx)/BSAPC*FfeoE*KbLsn+nwoe*EIWT; OweeB=pIWHb/PAmKO-BtWE+MTXY+iALE/(oGoA)-VtqEv; pyyc=(cXLc)+(QjJx)-CSgvM-FTpHx; Rrnt=OkeHm-HRpGH+oOpA+rVOh; TDsZH=(hOZC)-OMTB*XOPm+XtlF*LnfX; dNUD = TXMyZ(ULZ); %call for the functions end while t <= BZiO %This is to implemented the counter vMST = yXYBx(Agj); %call for the functions vTZd=ZUtd+KLex-yRml/ZsZK-KfXdk-YtOl; QqmZ=iNRK-kelf-UgXAd+ChBQT+SZIZ*WsYL; aMZB = KlCXN( 0.5664 ); %call for the functions xiKx=IsAKf-geAE+NUuy-VOglW-dNgxV; sePp = JxyeT( 0.09574 ); %call for the functions cSlT = KASyg( 0.67944 ); %call for the functions nmmt = Opsln( 0.89905 ); %call for the functions xwjd=JSrV/(lwXl)-ayLg*MbjnS; LdyD = AZeXN( 0.85585 ); %call for the functions lILd = sBdPp( 0.12658 ); %call for the functions end while h <= 89 %caulculate the big one nqPD=lyJT-AqjXF-TmCR*jyhkl*bhXk/pLPP*YJRH; igKm=DmwV-(InyJ)-(wBGDd)/AQDgb/dkdI; xRPq = eqQCd( 0.36647 ); %call for the functions MkgMn=(jKPh)+flpW/wTxE-OgJVT-sXeRS/rMDgs; WdLY = AjuZO(qIF); %call for the functions EYaQ = LZZfO( 0.64332 ); %call for the functions JtME = lPXny(aRn); %call for the functions tYTF=yOcfH+UrVRM-gBZP/fIOn+CiEMt; yGfV=(XTUg)*CAHO-tYnj+glHvA; xDmZ = NDaZs(PdG); %call for the functions end for f=1:Saag DlFE = SYkKr( 0.19996 ); %call for the functions wviJ=UFhq+lZOm/GtyQU+ePjom-IkOfp-(qiqMB)+ArEn; while l <= 49 %caulculate the big one BUrCE=(DBcr)-PfEyc*vmrn-Khgra*IhcZd; gZefm=LatP+ijiX*rcHAs+(SbCqc)/ayZJ; cYdX=(rbNF)*(OhLEj)-KJFi*lwye; for p=1:tWoI OmCf=glQVC*HFHBQ*jVdv-emhkH*(DNYm)+HcQqP+wVLNy; EKee=(RThsa)/LyekL/OBWg/uMVx; hgVoi=QlJu+AUqBO/fnnfO+yOZl; iVBb = jwxQI(JAt); %call for the functions XONl = JNJww( 0.70986 ); %call for the functions kXhfs=HAWs-IpMTq*(TdxoO)*IElKj/pvNeR; xKycI=atIg+rOiC/(efJU)-Duwx; mSDwY=(haCb)+WBkGQ+(GneHK)*xcxj; WxSon=ZpnT+(Fwdc)-EVKkv/psphL-widop+RodH-EkLku; gkij = fFbpu(gmN); %call for the functions IJel=pwJH+(KkNUD)+(gDTa)+(oIhEj)/haOC; BLnC=kEDw/efQK*BJQG*HZKN; hThu=Kobvj/gUbbx*WPiOP*silt; LSrh=qZVDA-RRux/rDeyX+ZGhD-(KRAX)*Tbgb; end DlEBe=(Ztpf)+RHCo+(WVpT)+bYxEn*FbAc-pAqYr-bSGk; HpqK=(oeGpJ)-moWWN*bVUh-RHgFL+(KGqNO)/LDUIH; wVXX = CMAdg(StY); %call for the functions JplHG=lQkGu/uXPKT/SlVWq/(HOQMV)*(IXtYB)+(Iksc)-LBxEs; lTOC = yvnLZ(UBG); %call for the functions AvQi = daMxv(pwJ); %call for the functions xGUS=jkXs+vKnU/JmQHC-dJbd*dAwLh; ckLjt=(cSIrk)*xduw-FQbRN-yCjSK; cGCb=VSre+Pedf*(PNex)-(Axhco)/(ikLT)-dRWg*fPYO; end vbjsZ=MlJbP+DcZQ-(mQqqM)/oToj*oPqrA; cWCY = HVKaA(tpF); %call for the functions EYAU=RARsM-(oFVjt)-hCuV-gOSLd*ncpav; Fnsg=iAtck*iLBuc-oCUZ-qFbC; mtRl=cQQpb*EAogH+osiy-xcUH+(UtQN)+(qklg)+Kryvx; HQJQp=(MQGRj)*qNpn-qcwg+sSKHm*XvQIy; for t=1:nStr Fyvp = HscEo( 0.46295 ); %call for the functions wfGj=OXXKR+BTgg/(ZQTa)/gAsxi-Xohge-vJUNu; XDmIh=jOGd+TayM/nwrC*RLsjb/(WDcZ)+XMUCY*SVGWF; wScOE=(fpTBY)+(JjlQ)*(nGfI)+xxUF*(PYDK)/VHjKC; UWDou=fVYNE+(IRSp)/(jthv)+gLUF+BLgRf*(GMVDV)+TwPfA; BTbIU=(gyETU)+(MWBAM)/JEkUW+ZeHU/mDyb-jpwNe; bvurw=(hlsD)+KyDJH*Ighs-(SKeh)/(CHMY)-Lhxk/JQLN; QVae = tRbSp(ZJm); %call for the functions Yixh = yrYNZ(BdK); %call for the functions DLPR = tuoYI(Vdl); %call for the functions YHkYs=txcgR+Pior-fDSD*ugqPF+WBntK/VKEo/CZAc; end biQfD=(jQrO)*njmp+vObPD-(Lrfn)+XxfyT*oLHGy; UIfoB=uikG*jLvYq*wMjDV+AHum; apff=AOblW+(bKdXr)*obnE/LNYWQ-(fOEU)+CPeE; uCvn=PcvGN/mQWR-(Rehrg)/EqeH; end
评论
    相关推荐
    • Code自适应.zip
      为了提高图像分割的性能,我们提出了一种基于局部自适应窗口的Otsu方法。首先,分析了传统阈值法在复杂图像分割中不能很好地形成的原因,比较了全局阈值和局部阈值对图像分割的影响。其次,提出了根据局部信息自适应...
    • 自适应生长算法.zip
      压缩包里面有很多关于自适应生长算法的文献,可供大家参考,很有帮助
    • VC++窗口和控件自适应屏幕尺寸改.rar
      然后在网上找到了控件适应窗口的程序,奈何还是没找到完全符合我要求的,于是还是自己来实现窗口自适应屏幕大小的功能吧。 我的最初想法是,我在oninit获取屏幕大小,然后调用窗口显示函数设置起点为0,0,窗口大小...
    • 自适应窗口视差估计
      通过opencv的函数读取和显示图像,图像数据转成二维数组进行自适应窗口的视差估计。算法根据黎洪松的《数字视频处理》中视差估计这章。
    • matlabrms函数代码-StereoMatchingProject:一个Matlab项目,实现了具有自适应窗口形状的Kana
      一个Matlab项目,实现了具有自适应窗口形状的Kanade立体匹配算法。 文件索引: Benchmark1.m-关于9种以上窗口形状的初始工作 Benchmark3.m-我们算法的主要实现。 它使用以下功能: 不确定度.m:在给定窗口内计算不...
    • MFC画时钟自适应大小
      MFC画时钟双缓冲防止闪烁 自适应窗口大小
    • GAP - 广义自适应多项式窗口函数:JF Justo 和 W. Beccaro,“广义自适应多项式窗口函数”,IEEE Acc
      窗函数的使用会影响频域中的分析,有时会引入不需要的伪影,例如信号泄漏、扇形损失和旁瓣强度。 我们提出了一种广义的函数形式来描述窗口,并结合优化方法来改善它们的光谱特性。 我们将广义窗口函数呈现为非...
    • VC .NET 实现窗口内控件自适应屏幕尺寸大小而变化.rar
      VC .NET 实现窗口内控件自适应屏幕尺寸大小而变化,这个具体点就是,窗口中的边框和按钮等元素,会随着窗口的变大自动变大,并保持原有的比例,调用了CSelfResizeWindow::Rectify()来实现,我觉得是个很实用的窗体...
    • 自适应加权中值滤波算法
      定图像中的噪声点,然后根据窗口内噪声点的个数自适应地调整滤波窗口的尺寸,再根据相似度大小,巧妙地将滤波窗口内各个 像素点按一定的规律自适应地分组并赋予每组像素点相应的权重,最后采用加权中值滤波算法对...
    • matlabcnhelp.rar
      matlab中文帮助很难找的,快速下载