下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、实验二:实现自适应的递归最小二乘法(rls)一、实验目的利用 matlab 实现自适应的递归最小二乘法(rls)二、实验过程首先掌握 rls 算法原理;然后利用 matlab 实现;最后得出结果;三、实验程序%rls 算法randn(seed,0):%seed 相当于知名了产生随机数的一个起始点rand(seed,0);noofdata=8000;%设定训练数列点的个数order=32;%设置自适应滤波器lambda=0.98;%设置遗忘因子delta=0.001;%对于 delta 的初始化x=randn(noofdata,1);%假设输入为白噪声h=rand(order,1);%系统随机选
2、择d=filter(h,1,x);%产生输出%rls 初始化p=delta*eye(order,order); w=zeros(order,1);%rls 自适应for n=order:noofdata; u=x(n:-1:n-order+1); pi_=u*p; k=lambda+pi_*u; k=pi_/k;e(n)=d(n)-w*u; w=w+k*e(n); pprime=k*pi_;p=(p-pprime)/lambda; w_err(n)=norm(h-w);end%画出结果figure(1)plot(20*log10(abs(e); title(learning curve);xl
3、abel(itergation number);%迭代次数ylabel(output estimation error in db);figure(2) semilogy(w_err);title(weight estimation error); xlabel(itergation number); ylabel(weight error in db);四、实验结果“”“”at the end, xiao bian gives you a passage. minand once said, people who learn to learn are very happy people. i
4、n every wonderful life, learning is an eternal theme. as a professional clerical and teaching position, i understand the importance of continuous learning, life is diligent, nothing can be gained, only continuous learning can achieve better self. only by constantly learning and mastering the latest relevant knowledge, can employees from all walks of life keep up with the pace of enterprise development and innovate to meet the needs of the market. this document is also edited by my studio professionals, there may
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 湖南省岳阳市2023至2024学年高二下学期期末教学质量监测化学试题附参考答案(解析)
- 山西省运城市新绛县第二中学2024-2025学年高三5月阶段测试物理试题含解析
- 天津市支持企业上市专项资金管理暂行办法
- 扇形截面模具弹簧项目节能评估报告模板
- 教师教育教学、师德师风考核细则
- 我国关于文化和旅游融合问题的几点思考与认识(-)
- 开工报告(模板)
- 初一数学第一次月考卷
- 外研版 必修一 Module5 A Lesson in a Lab-课件
- 2023年安徽省小学教师资格证《小学综合素质》科目真题冲刺卷
- 2023年广东省成考高升专数学(文)自考真题(含答案)
- 钢筋弯曲机检查验收表
- 中药配方颗粒创新性销售
- 图书馆试卷试题
- 商业银行账户分级分类管理办法
- 建筑防火设计-教学课件作者-主编-李耀庄-徐彧-建筑防火设计课件
- 公路工程施工现场安全检查手册
- 篮球比赛记录表(简版)
- JG-T-202-2007-工程管道用聚氨酯、蛭石绝热材料支吊架
- 出院疼痛患者随访登记表
- 毕业论文-奥迪A6L汽车自动空调故障检修
评论
0/150
提交评论