-
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
-
userdefinedarraygeometry
说明: 程序为了设置自定义的天线阵列模式,仿真了各种阵列形式的性能(Procedures in order to set up a custom antenna array model, simulation of various forms of performance arrays)
- 2008-08-27 21:06:46下载
- 积分:1
-
MATLAB5--Manual
说明: Matlab 5手册,早期的 Matlab 教材,瑞典 乌普萨拉大学计算机系的教授 编写。此为中文版。(Matlab 5 Handbook. written by professors of Uppsala University in Sweden.)
- 2011-03-27 12:28:54下载
- 积分:1
-
94144983multi-ga
一个比较新的多目标优化算法,调试过,望大家喜欢(A relatively new multi-objective optimization algorithm, debugged, hope you like)
- 2011-05-02 21:03:23下载
- 积分:1
-
GaussHermite
在数值方法中,用Matlab实现Gaussian Hermite, 此方法用来计算数值积分(Gaussian Hermite)
- 2011-11-06 05:58:59下载
- 积分:1
-
IJETAE_0112_10
ECG Signal Analysis and Classification using Data Mining and Artificial Neural Networks
- 2015-02-01 02:05:37下载
- 积分:1
-
Regularized-Filter
Project on Image Restoration
- 2013-11-12 17:54:44下载
- 积分:1
-
MIMONMPC
多入多出的非线性预测控制,供大家学习和研究。(MIMO nonlinear predictive control for all learning and research.)
- 2014-07-08 15:47:48下载
- 积分:1
-
Force-Position-control-of-robot
串联操作臂的运动学方程和力/位置控制程序。(Matlab program of the kinematics equation and force/position control of series manipulator.)
- 2014-08-06 00:01:50下载
- 积分:1
-
demo
用基本的粒子滤波算法,即SIR运行UNGM模型。通过UNGM模型显示SIR对于非线性系统的性能。(With the basic particle filter algorithm, that is, to run UNGM model of SIR. By UNGM model shows SIR for the non-linear system performance.)
- 2010-01-17 23:24:44下载
- 积分:1