-
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
-
TIMIT-speech-database
说明: TIMIT语音数据库,希望给语音研究者提供帮助。(TIMIT speech database, I want to give help to the researchers of voice .)
- 2021-04-21 10:58:49下载
- 积分:1
-
Unconstrain
无约束多维极值问题,适合数学计算,优化分析等极值问题的求解(Unconstrained multi-dimensional extremum problem, is suitable for mathematical calculations, the extremum problems of solving optimization analysis, etc
)
- 2013-07-16 15:56:17下载
- 积分:1
-
MAGNITUDE-AND-PHASE-RESPONSE-OF-HIGHPASS-AND-LOWP
MAGNITUDE AND PHASE RESPONSE OF HIGH AND LOWPASS FILTER
- 2013-12-28 01:07:48下载
- 积分:1
-
Kernel-PCA
KPCA经典程序,是KPCA的创始人写的,为学习KPCA提供了模板。(Classic KPCA procedures, is the founder of KPCA wrote, KPCA provides templates for learning.)
- 2020-09-20 08:07:52下载
- 积分:1
-
ls_svr
最小二乘支持向量机是基于统计学习对小样本、非线性建模的一种完善的方法,本算法,实现了最小二乘支持向量机的回归问题的应用(LSSVM are based on small samples statistical learning, a well-established method of nonlinear modeling of this algorithm, the least squares support vector machine regression Application)
- 2016-03-04 19:59:08下载
- 积分:1
-
PMSG_detailed
Detail working of PMSG with in pitch and yaw control
- 2015-02-21 18:44:48下载
- 积分:1
-
matlab-primer
MATLAB编程-菜鸟入门(清晰版),电子书,适合初学者(matlab primer,ebook)
- 2012-05-15 16:29:02下载
- 积分:1
-
tout
Caracteristiques d une ligne ELECTRIQUE 2011
- 2014-12-26 01:25:46下载
- 积分:1
-
matlab-Simulation
BPSK QPSK 16QAM BFSK 在高斯信道下,瑞丽信道下,多径(三条径)下的误码率仿真对比,(BPSK QPSK 16QAM BFSK in Gaussian channel, under Ruili Channel, multipath error rate (three diameter) under the simulation comparison,)
- 2016-04-26 19:29:55下载
- 积分:1