opaeumdata.rar

  • jarjgrie
    了解作者
  • matlab
    开发工具
  • 8KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • 1 积分
    下载积分
  • 2
    下载次数
  • 2017-05-17 02:58
    上传日期
自适应系数的过渡过程比较与分析 基于LMS和RLS算法比较
opaeumdata.rar
  • r90自适应系数的过度过程(LMS和RLS算法比较).doc
    23.5KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/622b83933d2fbb00079e3bc8/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/622b83933d2fbb00079e3bc8/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">&#24207;&#21015;<span class="_ _0"> </span><span class="ff2">x(n)</span>&#30001;&#38646;&#22343;&#20540;&#12289;&#21333;&#20301;&#26041;&#24046;&#30340;&#30333;&#22122;&#22768;<span class="_ _0"> </span><span class="ff2">w(n)</span>&#36890;&#36807;&#19968;&#20010;&#20108;&#38454;&#33258;&#22238;&#24402;&#27169;&#22411;</div><div class="t m0 x2 h4 y3 ff2 fs0 fc0 sc0 ls0 ws0">x(n) + a</div><div class="t m0 x3 h5 y4 ff2 fs1 fc0 sc0 ls0 ws0">1</div><div class="t m0 x4 h4 y3 ff2 fs0 fc0 sc0 ls0 ws0">x(n-1) + a</div><div class="t m0 x5 h5 y4 ff2 fs1 fc0 sc0 ls0 ws0">2</div><div class="t m0 x6 h4 y3 ff2 fs0 fc0 sc0 ls0 ws0">x(n-2) =w(n)</div><div class="t m0 x7 h3 y5 ff1 fs0 fc0 sc0 ls0 ws0">&#20135;<span class="_ _1"></span>&#29983;<span class="_ _1"></span>&#12290;<span class="_ _1"></span>&#36825;&#37324;<span class="_ _1"></span>&#27169;<span class="_ _1"></span>&#22411;<span class="_ _1"></span>&#21442;<span class="_ _1"></span>&#25968;<span class="_ _2"> </span><span class="ff2">a</span></div><div class="t m0 x8 h5 y6 ff2 fs1 fc0 sc0 ls0 ws0">1</div><div class="t m0 x9 h3 y5 ff2 fs0 fc0 sc0 ls0 ws0"> <span class="_ _1"></span>= <span class="_ _1"></span>-1.6<span class="_ _1"></span><span class="ff1">&#65292;<span class="_ _1"></span></span>a</div><div class="t m0 xa h5 y6 ff2 fs1 fc0 sc0 ls0 ws0">2</div><div class="t m0 xb h3 y5 ff2 fs0 fc0 sc0 ls0 ws0"> <span class="_ _1"></span>= <span class="_ _1"></span>0.8<span class="_ _1"></span><span class="ff1">&#12290;<span class="_ _1"></span></span>LMS<span class="_ _3"> </span><span class="ff1">&#33258;<span class="_ _1"></span>&#36866;<span class="_ _1"></span>&#24212;<span class="_ _1"></span>&#21442;&#25968;<span class="_ _2"> </span></span>mu <span class="_ _1"></span>= 0.002<span class="_ _4"></span><span class="ff1">&#65292;<span class="_ _1"></span></span>RLS<span class="_ _3"> </span><span class="ff1">&#36951;</span></div><div class="t m0 x7 h3 y7 ff1 fs0 fc0 sc0 ls0 ws0">&#24536;&#22240;<span class="_ _1"></span>&#23376;<span class="_ _3"> </span><span class="ff2">&#955;<span class="_ _0"> </span></span>&#20540;<span class="_ _1"></span>&#36873;&#20026;<span class="_ _3"> </span><span class="ff3">1<span class="_ _1"></span></span>&#65292;<span class="ff2">T(-1)<span class="_ _1"></span> = 10<span class="_ _1"></span></span>&#12290;<span class="_ _1"></span>&#19979;&#38754;<span class="_ _1"></span>&#23558;&#20223;<span class="_ _1"></span>&#30495;&#20986;<span class="_ _1"></span>&#26435;&#31995;<span class="_ _1"></span>&#25968;<span class="_ _5"> </span>&#36880;&#28176;<span class="_ _1"></span>&#25910;&#25947;<span class="_ _1"></span>&#20110;<span class="_ _1"></span><span class="ff2">-1.6<span class="_ _3"> </span></span>&#30340;&#36807;</div><div class="t m0 x7 h3 y8 ff1 fs0 fc0 sc0 ls0 ws0">&#28193;&#29305;&#24615;&#65292;&#20998;&#21035;&#37319;&#29992;<span class="_ _0"> </span><span class="ff2">LMS<span class="_ _0"> </span></span>&#31639;&#27861;&#21644;<span class="_ _0"> </span><span class="ff2">RLS<span class="_ _0"> </span></span>&#31639;&#27861;&#30830;&#23450;&#30456;&#24212;&#30340;&#27169;&#22411;&#21442;&#25968;&#12290;</div><div class="t m0 x7 h3 y9 ff4 fs0 fc0 sc0 ls0 ws0">(3) <span class="ff2">MA<span class="_ _6"></span>TLAB<span class="_ _0"> </span><span class="ff1">&#20223;&#30495;</span></span></div><div class="t m0 x7 h3 ya ff1 fs0 fc0 sc0 ls0 ws0">&#22270;<span class="_ _0"> </span><span class="ff2">1<span class="_ _0"> </span></span>&#30340;<span class="_ _0"> </span><span class="ff2">MA<span class="_ _6"></span>TLAB<span class="_ _0"> </span><span class="ff1">&#28304;&#31243;&#24207;</span></span></div><div class="t m0 x7 h4 yb ff2 fs0 fc0 sc0 ls0 ws0">clear;</div><div class="t m0 x7 h3 yc ff2 fs0 fc0 sc0 ls0 ws0">%<span class="ff1">&#36755;&#20837;<span class="_ _0"> </span></span>x(n)</div><div class="t m0 x7 h4 yd ff2 fs0 fc0 sc0 ls0 ws0">Noise=randn(1000,1);</div><div class="t m0 x7 h4 ye ff2 fs0 fc0 sc0 ls0 ws0">x(1)=Noise(1); </div><div class="t m0 x7 h4 yf ff2 fs0 fc0 sc0 ls0 ws0">x(2)=Noise(2)+1.6*x(1);</div><div class="t m0 x7 h4 y10 ff2 fs0 fc0 sc0 ls0 ws0">for n=3:1000;</div><div class="t m0 x7 h4 y11 ff2 fs0 fc0 sc0 ls0 ws0">x(n)=Noise(n)+1.6*x(n-1)-0.8*x(n-2);</div><div class="t m0 x7 h4 y12 ff2 fs0 fc0 sc0 ls0 ws0">end</div><div class="t m0 x7 h3 y13 ff2 fs0 fc0 sc0 ls0 ws0">wL=zeros(2,1000); %<span class="ff1">&#26435;&#31995;&#25968;</span></div><div class="t m0 x7 h4 y14 ff2 fs0 fc0 sc0 ls0 ws0">wR=zeros(2,1000);</div><div class="t m0 x7 h3 y15 ff2 fs0 fc0 sc0 ls0 ws0">%<span class="ff1">&#26399;&#26395;&#20449;&#21495;<span class="_ _0"> </span></span>d(n)</div><div class="t m0 x7 h4 y16 ff2 fs0 fc0 sc0 ls0 ws0">d=x;</div><div class="t m0 x7 h4 y17 ff2 fs0 fc0 sc0 ls0 ws0">%LMS</div><div class="t m0 x7 h4 y18 ff2 fs0 fc0 sc0 ls0 ws0">for n=3:1000;</div><div class="t m0 x7 h4 y19 ff2 fs0 fc0 sc0 ls0 ws0">x1=x(n-1:-1:n-2);</div><div class="t m0 x7 h4 y1a ff2 fs0 fc0 sc0 ls0 ws0">y(n)=wL(:,n)'*x1';</div><div class="t m0 x7 h4 y1b ff2 fs0 fc0 sc0 ls0 ws0">e(n)=d(n)-y(n);</div><div class="t m0 x7 h4 y1c ff2 fs0 fc0 sc0 ls0 ws0">wL(:,n+1)=wL(:,n)+0.004*e(n)*x1';</div><div class="t m0 x7 h4 y1d ff2 fs0 fc0 sc0 ls0 ws0">end</div><div class="t m0 x7 h3 y1e ff2 fs0 fc0 sc0 ls0 ws0">%LMS<span class="_ _0"> </span><span class="ff1">&#26435;&#31995;&#25968;</span></div><div class="t m0 x7 h4 y1f ff2 fs0 fc0 sc0 ls0 ws0">a1=-wL(1,:);</div><div class="t m0 x7 h4 y20 ff2 fs0 fc0 sc0 ls0 ws0">v=[0,1000,-2.5,0];</div><div class="t m0 x7 h4 y21 ff2 fs0 fc0 sc0 ls0 ws0">axis(v);</div><div class="t m0 x7 h4 y22 ff2 fs0 fc0 sc0 ls0 ws0">n=1:1000;</div><div class="t m0 x7 h4 y23 ff2 fs0 fc0 sc0 ls0 ws0">plot(n,a1(n),'r');</div><div class="t m0 x7 h4 y24 ff2 fs0 fc0 sc0 ls0 ws0">xlabel('n');ylabel('a1(n)');</div><div class="t m0 x7 h4 y25 ff2 fs0 fc0 sc0 ls0 ws0">text(150,-0.6,'LMS');</div><div class="t m0 x7 h4 y26 ff2 fs0 fc0 sc0 ls0 ws0">text(100,-1.4,'RLS');</div><div class="t m0 x7 h4 y27 ff2 fs0 fc0 sc0 ls0 ws0">hold on;</div><div class="t m0 x7 h3 y28 ff2 fs0 fc0 sc0 ls0 ws0">yiwang=1;%<span class="ff1">&#36951;&#24536;&#22240;&#23376;</span></div><div class="t m0 x7 h4 y29 ff2 fs0 fc0 sc0 ls0 ws0">T=10*eye(2,2);</div><div class="t m0 x7 h4 y2a ff2 fs0 fc0 sc0 ls0 ws0">%RLS</div><div class="t m0 x7 h4 y2b ff2 fs0 fc0 sc0 ls0 ws0">for n=3:1000;</div><div class="t m0 x7 h4 y2c ff2 fs0 fc0 sc0 ls0 ws0"> x1=x(n-1:-1:n-2);</div><div class="t m0 x7 h4 y2d ff2 fs0 fc0 sc0 ls0 ws0"> k=(T*x1')/(yiwang+x1*T*x1');</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐
    • RLS.zip
      用递推最小二乘法进行双输入双输出系统的参数估计
    • 61857042RLS.rar
      自适应信号处理的理论和技术经过40多年的发展和完善,已逐渐成为人们常用的语音去噪技术.并通过实例介绍了基于Matlab的RLS自适应语音噪声对消系统的设计与实现.
    • LMS&RLS.rar
      该程序为两个简单的传统的自适应波束形成算法,希望对大家有用
    • RLS.zip
      RLS system identification for varying channels
    • RLS算法滤波
      基于RLS自适应滤波器,MatLab实现RLS自适应滤波器完整代码以及示例数据
    • RLS.rar
      RLS算法matlab仿真程序,实现了RLS算法的基本功能
    • Simulink RLS.rar
      递推最小二乘法参数辨识,matlab simulink
    • rls.rar
      做回归用的代码,非常好用,亲测可用,非常好使,欢迎下载
    • RLS2.zip
      RLS算法生成最优BF权矢量,是关于智能天线的相关应用
    • rls_6_15 - 副本.rar
      检验RLS算法学习速度,运用matlab实现递归最小二乘法