-
mini2
clear all
clc
t=0:1/1000:10-1/1000
s=sin(2*pi*t)
snr=20
s_power=var(s) varience of s
linear_snr=10^(snr/10)
factor=sqrt(s_power/linear_snr)
noise=randn(1,length(s))*factor
x=s+noise Ó É SNR¼ Æ Ë ã Ë æ » úÔ ë É ù
x1=noise Ô ë É ùÔ ´ Ê ä È ë
x2=noise
w1=0 È ¨Ï µ Ê ý ³ õ Ö µ
w2=0
e=zeros(1,length(x))
y=0
u=0.05
for i=1:10000 LMSË ã ·¨
y(i)=w1*x1(i)+w2*x2(i)
e(i)=x(i)-y(i)
w1=w1+u*e(i)*x1(i)
w2=w2+u*e(i)*x2(i)
end
figure(1)
subplot(4,1,1)
- 2010-10-26 16:41:03下载
- 积分:1
-
ExampleProblems
Radar System Performance Modeling, Second Edition 的光盘源码(Radar System Performance Modeling, Second Edition )
- 2010-12-10 08:59:32下载
- 积分:1
-
Simulationofcommunicationystemsandwirelessapplicat
说明: 关于通信系统仿真原理及无线应用原书的所有程序,可以省去你在敲程序的时间(Simulation of communication systems and wireless applications, the original principle of the book all the procedures, can save you time in the knock process)
- 2010-04-14 09:28:45下载
- 积分:1
-
NonLinear-Equations-Matlab
对MATLAB环境下的迭代算法实现进行了讲述,对熟悉Matlab软件的人有帮助(The MATLAB environment iterative algorithm has been talk, for people who are familiar with Matlab software to help)
- 2013-10-30 11:06:55下载
- 积分:1
-
recombination
Distribution System Reconfiguration
- 2015-03-15 12:38:31下载
- 积分:1
-
analyze1
this util for voice analize
- 2010-09-30 02:56:29下载
- 积分:1
-
CProgramming
本书详细介绍了平时编程过程中可能范的各种错误,介绍了高质量C编程的各种知识以及各种技巧。(This book details the normal process of programming a variety of errors that might Fan introduced a variety of high-quality C programming knowledge and a variety of skills.)
- 2010-03-09 16:41:14下载
- 积分:1
-
gatool
说明: 谢菲尔德大学开发的遗传算法工具箱,内有全部操作函数(University of Sheffield developed genetic algorithm toolbox, which has all operating functions)
- 2008-09-04 15:28:21下载
- 积分:1
-
jake
说明: matlab 仿真JAKE 模型 用于信道估计 (matlab simulation model for channel estimation JAKE)
- 2011-03-21 16:18:25下载
- 积分:1
-
compare_boost
comparison between two designs
- 2014-08-12 15:15:12下载
- 积分:1