-
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
-
Matlab遗传算法工具箱
说明: Matlab遗传算法工具箱:
Matlab遗传算法工具箱,以及一些应用实例。(Matlab Toolbox : Matlab Toolbox genetic algorithms, as well as some application examples.)
- 2021-04-07 21:19:01下载
- 积分:1
-
dongmo_version
电路计算机辅助设计,电路与按键灵敏的的计算(Circuit computer-aided design, circuits and the calculation of key sensitive)
- 2011-05-12 20:54:53下载
- 积分:1
-
LDA.m
线性判别分析函数,可直接调用,内含函数详细说明(Linear discriminant analysis functions can be called directly, containing a detailed description of the function)
- 2015-03-17 19:13:13下载
- 积分:1
-
C_CPP-Programmers-Reference--Third-Edition-By-Her
C/C++ Programmer s Reference, Third Edition
by Herbert Schildt ISBN:0072227222
McGraw-Hill/Osborne © 2003 (358 pages)
This guide reviews the rules and syntax of the principle commands that comprise C and its object-oriented cousin, C++. The reference consists of 19 chapters that define operators and the standard input/output, string, character, and more.
- 2015-03-20 08:48:03下载
- 积分:1
-
lgkt
数值计算方法,用matlab给龙格库塔方法编程,并做一个GUI界面。(Numerical methods, Runge-Kutta method using matlab to program, and do a GUI interface.)
- 2010-08-28 11:48:43下载
- 积分:1
-
2d-logistic-regression
二分类逻辑回归matlab代码,运行有效,包含图形说明。(Binary logistic regression matlab code to run efficiently, including graphical instructions.)
- 2014-08-20 21:06:20下载
- 积分:1
-
DS_BPSK
DS扩频,BPSK在扩频系统中瑞利信道下的性能仿真(DS spread spectrum BPSK spread spectrum system performance under the Rayleigh channel simulation)
- 2013-04-21 21:51:40下载
- 积分:1
-
lms
LMS滤波,自适应滤波法,试过了,可以用(LMS filter, adaptive filtering, tried, you can use)
- 2013-12-10 23:44:39下载
- 积分:1
-
Matlab_ex
Matlab制作的阴历阳历日历小程序,仅供练习使用,不错的小例子!!!(Matlab Gregorian lunar calendar produced a small program, only to practice the use of a good small example! ! !)
- 2010-06-18 10:02:37下载
- 积分:1